diff options
author | vignesh babu <vignesh.babu@wipro.com> | 2007-12-13 13:43:41 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-01-11 19:28:51 -0500 |
commit | 118365721768f29d74718a59895ed7bd3c10b68e (patch) | |
tree | 3bd814b509c6b9d1abaf7185d17588b88f208775 /drivers/scsi/iscsi_tcp.c | |
parent | 4545a88fc1ae2c0cd1da6e35f3adcbc56ff27b07 (diff) |
[SCSI] libiscsi: use is_power_of_2
Replacing n & (n - 1) for power of 2 check by is_power_of_2(n)
Signed-off-by: vignesh babu <vignesh.babu@wipro.com>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/iscsi_tcp.c')
0 files changed, 0 insertions, 0 deletions