mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-16 05:26:07 +00:00
drivers/media/common/siano/smsendian.c : eliminate unnecessary type conversions
remove unnecessary void* type casting. Signed-off-by: Dong Chuanjian <chuanjian@nfschina.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
This commit is contained in:
parent
2f7d0c9439
commit
ff7ff36564
@ -17,7 +17,7 @@
|
||||
void smsendian_handle_tx_message(void *buffer)
|
||||
{
|
||||
#ifdef __BIG_ENDIAN
|
||||
struct sms_msg_data *msg = (struct sms_msg_data *)buffer;
|
||||
struct sms_msg_data *msg = buffer;
|
||||
int i;
|
||||
int msg_words;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user