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:
Dong Chuanjian 2022-12-26 11:10:05 +08:00 committed by Hans Verkuil
parent 2f7d0c9439
commit ff7ff36564
1 changed files with 1 additions and 1 deletions

View File

@ -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;