diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-08-31 16:07:27 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-09-02 03:34:36 +0200 |
commit | 5debc53ffecf79ca1c2d6fc194764cb6a8fa91a9 (patch) | |
tree | 02053ffcbf16be6417a9d663f0c486d54d301c43 /drivers/net/ethernet/qualcomm | |
parent | net: phy: bcm7xxx: make array bcm7xxx_suspend_cfg static, reduces object code... (diff) | |
download | linux-5debc53ffecf79ca1c2d6fc194764cb6a8fa91a9.tar.xz linux-5debc53ffecf79ca1c2d6fc194764cb6a8fa91a9.zip |
net: qualcomm: rmnet: remove unused variable priv
priv is being assigned but is never used, so remove it.
Cleans up clang build warning:
"warning: Value stored to 'priv' is never read"
Fixes: ceed73a2cf4a ("drivers: net: ethernet: qualcomm: rmnet: Initial implementation")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qualcomm')
-rw-r--r-- | drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd.c b/drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd.c index c8b573d28dcf..bf7455fdafcc 100644 --- a/drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd.c +++ b/drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd.c @@ -73,9 +73,6 @@ static const struct net_device_ops rmnet_vnd_ops = { */ void rmnet_vnd_setup(struct net_device *rmnet_dev) { - struct rmnet_priv *priv; - - priv = netdev_priv(rmnet_dev); netdev_dbg(rmnet_dev, "Setting up device %s\n", rmnet_dev->name); rmnet_dev->netdev_ops = &rmnet_vnd_ops; |