diff options
author | Joern Engel <joern@logfs.org> | 2014-09-17 00:23:18 +0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-10-02 01:39:29 +0400 |
commit | f9b6721a9cef94908467abf7a2cacbd15a7d23cb (patch) | |
tree | c480d2a154ffe68f5dc7f57011b26414241be600 /drivers/scsi/qla2xxx/qla_target.h | |
parent | 55a9066fffd2f533e7ed434b072469ef09d6c476 (diff) | |
download | linux-f9b6721a9cef94908467abf7a2cacbd15a7d23cb.tar.xz |
qla_target: improve qlt_unmap_sg()
Remove the inline attribute. Modern compilers ignore it and the
function has grown beyond where inline made sense anyway.
Remove the BUG_ON(!cmd->sg_mapped), and instead return if sg_mapped is
not set. Every caller is doing this check, so we might as well have it
in one place instead of four.
Signed-off-by: Joern Engel <joern@logfs.org>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_target.h')
0 files changed, 0 insertions, 0 deletions