]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: remove unused arrays mlxsw_i2c_driver_name and mlxsw_pci_driver_name
authorColin Ian King <colin.king@canonical.com>
Fri, 10 Aug 2018 07:53:28 +0000 (08:53 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Aug 2018 17:23:51 +0000 (10:23 -0700)
commitd9a1504805701a0a155652e8f095502960fbcb99
treeb3dd91758be33689541784bfb143f89037e3a5f2
parenta492f33d7c50bbf29b1ba78e77f8fb17c005f0cd
mlxsw: remove unused arrays mlxsw_i2c_driver_name and mlxsw_pci_driver_name

Arrays mlxsw_i2c_driver_name and mlxsw_pci_driver_name are defined
but never used hence they are redundant and can be removed.

Cleans up clang warnings:
warning: 'mlxsw_i2c_driver_name' defined but not used
warning: 'mlxsw_pci_driver_name' defined but not used

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/i2c.c
drivers/net/ethernet/mellanox/mlxsw/pci.c