summaryrefslogtreecommitdiff
path: root/Documentation/userspace-api
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2022-05-08 22:45:00 +0100
committerPaolo Abeni <pabeni@redhat.com>2022-05-10 11:59:22 +0200
commitecd17a87eb78b5bd5ca6d1aa20c39f2bc3591337 (patch)
treec6f164f598c882f9317d76bfdbe84e6c75043cf5 /Documentation/userspace-api
parenta12af6f860b3537085d00dd9114b990d256efcae (diff)
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 <colin.i.king@gmail.com> Link: https://lore.kernel.org/r/20220508214500.60446-1-colin.i.king@gmail.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'Documentation/userspace-api')
0 files changed, 0 insertions, 0 deletions