diff options
| author | Douglas Gilbert <[email protected]> | 2014-08-05 12:20:02 +0200 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2014-09-16 09:09:50 -0700 |
| commit | 01123ef4c3fc9b9ff3062df2e10dee9b139b46b4 (patch) | |
| tree | 7de15b76d85a209a5c65ed29cfa20ea4cdc9a655 /scripts | |
| parent | 5d46ad7d88a78cca36ff6472a5bdc7d1c9c22654 (diff) | |
scsi_debug: scsi_cmnd->cmnd check and casts unnecessary
This patch removes a NULL check for the scsi_cmnd::cmnd pointer
since many other instances in this driver and elsewhere assume
it is valid. Also redundant casts to 'unsigned char *' are removed
as the pointer has that type.
Signed-off-by: Douglas Gilbert <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions