commit | 2d1900f131f015ff335c53b655edfb4e10e57ee7 | [log] [tgz] |
---|---|---|
author | Dennis Dalessandro <dennis.dalessandro@intel.com> | Wed Dec 02 00:43:38 2015 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Dec 21 13:53:37 2015 -0800 |
tree | de8e2a2cc08f935cd01876903ae6a7634a0628c6 | |
parent | 33ab349037db079aec7d60608fe4fb1114be6b91 [diff] |
staging/rdma/hfi1: Return immediately on error Now that the spinlock is not taken throughout hfi1_ioctl it is safe to return early rather than setting a variable and falling through the switch. Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>