scsi: linux/unaligned/byteshift.h: Remove superfluous casts
authorBart Van Assche <bvanassche@acm.org>
Fri, 13 Mar 2020 20:30:58 +0000 (13:30 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 17 Mar 2020 02:08:32 +0000 (22:08 -0400)
commit19f747f7370fcf4ced4988ed795ccd4a28f2b530
tree4f50292263ef94ba8fa5f46b8e99ae86d68a4606
parent6fdb79ff27ee0d385ec8481458d2fd1d69fec50b
scsi: linux/unaligned/byteshift.h: Remove superfluous casts

The C language supports implicitly casting a void pointer into a non-void
pointer. Remove explicit void pointer to non-void pointer casts because
these are superfluous.

Link: https://lore.kernel.org/r/20200313203102.16613-2-bvanassche@acm.org
Cc: Harvey Harrison <harvey.harrison@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
include/linux/unaligned/be_byteshift.h
include/linux/unaligned/le_byteshift.h