]> git.karo-electronics.de Git - linux-beck.git/commit
staging/hfi1: Remove un-needed variable
authorMitko Haralanov <mitko.haralanov@intel.com>
Fri, 5 Feb 2016 16:57:50 +0000 (11:57 -0500)
committerDoug Ledford <dledford@redhat.com>
Mon, 29 Feb 2016 22:10:38 +0000 (17:10 -0500)
commitacac10fdd75a85b10a638381127f7bbed632580d
tree577a9687df29f54766ed4254762bb22e763d2e8f
parenta86cd357e5be1b7eae3b399c02b972a92808c38a
staging/hfi1: Remove un-needed variable

There is no need to use a separate variable for a
return value and a label when returning right away
would do just as well.

Signed-off-by: Mitko Haralanov <mitko.haralanov@intel.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/staging/rdma/hfi1/file_ops.c