diff options
author | Dong Chuanjian <chuanjian@nfschina.com> | 2022-12-26 06:10:05 +0300 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-07-19 13:57:46 +0300 |
commit | ff7ff3656465f73e5dc1104d742fe7502572a5ed (patch) | |
tree | acf98a665ad1425c43514aebfefdb29de54c967b /drivers/media/common/siano | |
parent | 2f7d0c94396e8df1db6a5bc3b6ea272d640e874d (diff) | |
download | linux-ff7ff3656465f73e5dc1104d742fe7502572a5ed.tar.xz |
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>
Diffstat (limited to 'drivers/media/common/siano')
-rw-r--r-- | drivers/media/common/siano/smsendian.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/common/siano/smsendian.c b/drivers/media/common/siano/smsendian.c index 8cb8853a1edb..a3573814919b 100644 --- a/drivers/media/common/siano/smsendian.c +++ b/drivers/media/common/siano/smsendian.c @@ -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; |