OSDN Git Service

staging: rdma: amso1100: Remove unnecessary variables
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>
Sat, 7 Nov 2015 20:12:03 +0000 (01:42 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Nov 2015 00:55:37 +0000 (16:55 -0800)
commitb629a6f63d5d7a8aab1b57223e4353427824c6d7
treeed5dc4a31eb3e332c9419286edc78c36a4859dc3
parenta85994d5467a8fbcecc4ae4a42f9d4c1a0a54886
staging: rdma: amso1100: Remove unnecessary variables

Remove unnecessary variable 'err' from functions c2_reject() and
c2_service_destroy() since it can be replaced by a single line of
code instead.

Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rdma/amso1100/c2_provider.c