diff options
author | xypron.glpk@gmx.de <xypron.glpk@gmx.de> | 2016-07-31 12:07:37 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-08-01 13:47:00 -0700 |
commit | 43dcff349f091b6a2f5f491c35d89b173df41acf (patch) | |
tree | 59762e70f4cec5ea331b09aa1f83834c1cd70b5f /drivers/net/ethernet | |
parent | 58d5aaea05e331cb2164bdfeb6927b05c19e061e (diff) | |
download | linux-43dcff349f091b6a2f5f491c35d89b173df41acf.tar.bz2 |
net: qlcnic: avoid superfluous assignement
Assigning NULL to parmeter dcb has no effect outside of the
inlined function.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r-- | drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.h b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.h index 9777e5713525..f4aa6331b367 100644 --- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.h +++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.h @@ -45,7 +45,6 @@ struct qlcnic_dcb { static inline void qlcnic_clear_dcb_ops(struct qlcnic_dcb *dcb) { kfree(dcb); - dcb = NULL; } static inline int qlcnic_dcb_get_hw_capability(struct qlcnic_dcb *dcb) |