summaryrefslogtreecommitdiff
path: root/drivers/nfc
diff options
context:
space:
mode:
authorSaeed Mahameed <saeedm@mellanox.com>2018-02-13 17:07:02 -0800
committerSaeed Mahameed <saeedm@mellanox.com>2018-03-30 16:16:17 -0700
commitb2d3907c234618c20239127f2c234b4e92adf5ef (patch)
treede64262f2f4ee8e4e9901e7685b6a32675b12479 /drivers/nfc
parent7b2117bb8ff98b7b82543f77768dfe7aca7e3746 (diff)
net/mlx5: Eliminate query xsrq dead code
1. This function is not used anywhere in mlx5 driver 2. It has a memcpy statement that makes no sense and produces build warning with gcc8 drivers/net/ethernet/mellanox/mlx5/core/transobj.c: In function 'mlx5_core_query_xsrq': drivers/net/ethernet/mellanox/mlx5/core/transobj.c:347:3: error: 'memcpy' source argument is the same as destination [-Werror=restrict] Fixes: 01949d0109ee ("net/mlx5_core: Enable XRCs and SRQs when using ISSI > 0") Reported-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/nfc')
0 files changed, 0 insertions, 0 deletions