diff options
| author | Colin Ian King <[email protected]> | 2022-05-08 21:45:00 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2022-05-10 09:59:22 +0000 |
| commit | ecd17a87eb78b5bd5ca6d1aa20c39f2bc3591337 (patch) | |
| tree | c6f164f598c882f9317d76bfdbe84e6c75043cf5 /drivers/net/ethernet/intel/igc | |
| parent | Merge branch 'this-is-a-patch-series-for-ethernet-driver-of-sunplus-sp7021-soc' (diff) | |
| download | kernel-ecd17a87eb78b5bd5ca6d1aa20c39f2bc3591337.tar.gz kernel-ecd17a87eb78b5bd5ca6d1aa20c39f2bc3591337.zip | |
x25: remove redundant pointer dev
Pointer dev is being assigned a value that is never used, the assignment
and the variable are redundant and can be removed. Also replace null check
with the preferred !ptr idiom.
Cleans up clang scan warning:
net/x25/x25_proc.c:94:26: warning: Although the value stored to 'dev' is
used in the enclosing expression, the value is never actually read
from 'dev' [deadcode.DeadStores]
Signed-off-by: Colin Ian King <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc')
0 files changed, 0 insertions, 0 deletions
