projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f203022
)
firewire: sbp2: remove superfluous blk_queue_max_segment_size() call
author
Clemens Ladisch
<clemens@ladisch.de>
Fri, 18 May 2012 16:41:28 +0000
(18:41 +0200)
committer
Stefan Richter
<stefanr@s5r6.in-berlin.de>
Mon, 21 May 2012 19:42:51 +0000
(21:42 +0200)
The SCSI framework automatically initializes the block queue's segment
size with the DMA device's segment size.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/sbp2.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/firewire/sbp2.c
b/drivers/firewire/sbp2.c
index 6ffaef3307e8302517cd83d1c6d30746a1bcd307..1f888f3ef7aeb845ef55da144dfe4377fd7906b3 100644
(file)
--- a/
drivers/firewire/sbp2.c
+++ b/
drivers/firewire/sbp2.c
@@
-1564,8
+1564,6
@@
static int sbp2_scsi_slave_configure(struct scsi_device *sdev)
if (lu->tgt->workarounds & SBP2_WORKAROUND_128K_MAX_TRANS)
blk_queue_max_hw_sectors(sdev->request_queue, 128 * 1024 / 512);
- blk_queue_max_segment_size(sdev->request_queue, SBP2_MAX_SEG_SIZE);
-
return 0;
}