numam-dpdk/drivers/net/ena
Ferruh Yigit 7a4edfd7bb net/ena: remove useless address check
Reported by "gcc (GCC) 12.0.0 20211003 (experimental)":

./drivers/net/ena/ena_rss.c: In function ‘ena_rss_reta_query’:
./drivers/net/ena/ena_rss.c:140:66:
	error: the comparison will always evaluate as ‘false’ for the
	pointer operand in ‘reta_conf + 136’ must not be NULL
	[-Werror=address]
  140 |  (reta_size > RTE_RETA_GROUP_SIZE && ((reta_conf + 1) == NULL)))
      |                                                       ^~

Fixing it by removing useless check.

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Michal Krawczyk <mk@semihalf.com>
2021-10-11 17:47:31 +02:00
..
base net/ena: use common debug options 2021-07-23 17:42:33 +02:00
ena_ethdev.c ethdev: change queue release callback 2021-10-06 19:16:03 +02:00
ena_ethdev.h net/ena: rework RSS configuration 2021-07-23 17:44:09 +02:00
ena_logs.h net/ena: use common debug options 2021-07-23 17:42:33 +02:00
ena_platform.h net/ena: remove endian swap functions 2021-05-11 15:00:44 +02:00
ena_rss.c net/ena: remove useless address check 2021-10-11 17:47:31 +02:00
meson.build net/ena: rework RSS configuration 2021-07-23 17:44:09 +02:00
version.map version: 21.11-rc0 2021-08-17 08:37:52 +02:00