]> asedeno.scripts.mit.edu Git - linux.git/commit
sgi-xp: remove redundant pointers ch and rp
authorColin Ian King <colin.king@canonical.com>
Tue, 3 Jul 2018 07:23:05 +0000 (08:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Jul 2018 11:01:48 +0000 (13:01 +0200)
commitaa8998e57640c98ce0c53c1dfc7a8e990adfffa4
tree2cce6d3e7eaeb2923b6b8db11dbedf1733f554db
parentccbaef5d0ba8b0015ac94d8e65957bc1f5864513
sgi-xp: remove redundant pointers ch and rp

The pointers ch and rp are set but are never used hence they are
redundant and can be removed.

Cleans up clang warnings:
warning: variable 'ch' set but not used [-Wunused-but-set-variable]
warning: variable 'rp' set but not used [-Wunused-but-set-variable]

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/sgi-xp/xpc_channel.c
drivers/misc/sgi-xp/xpc_partition.c