linux/drivers/infiniband/ulp
Bart Van Assche 695b83495e IB/srp: Test only once whether iu allocation succeeded
Merge the two tests in srp_queuecommand() of whether information unit
allocation succeeded into one.  An intended side effect of this change
is that we fix the warning:

    drivers/infiniband/ulp/srp/ib_srp.c: In function 'srp_queuecommand':
    drivers/infiniband/ulp/srp/ib_srp.c:1116: warning: 'req' may be used uninitialized in this function

(seen with CONFIG_CC_OPTIMIZE_FOR_SIZE=y at least with gcc 4.4.4)

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Acked-by: David Dillow <dillowda@ornl.gov>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2011-01-13 14:00:43 -08:00
..
ipoib IPoIB: Add GRO support 2011-01-10 17:41:55 -08:00
iser Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
srp IB/srp: Test only once whether iu allocation succeeded 2011-01-13 14:00:43 -08:00