From: Christian Gromm Date: Mon, 28 Sep 2015 15:18:36 +0000 (+0200) Subject: staging: most: remove unnecessary field initialization X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d6f7737d5a576f0625ebb2a5896d1b13e3c1c95c;p=linux-beck.git staging: most: remove unnecessary field initialization Since conf->extra_len has already been reset in most_start_channel() when function hdm_configure_channel() gets called, it can safely be removed here. Signed-off-by: Christian Gromm Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/most/hdm-usb/hdm_usb.c b/drivers/staging/most/hdm-usb/hdm_usb.c index 9006793aec64..61974dd5075d 100644 --- a/drivers/staging/most/hdm-usb/hdm_usb.c +++ b/drivers/staging/most/hdm-usb/hdm_usb.c @@ -771,7 +771,6 @@ static int hdm_configure_channel(struct most_interface *iface, int channel, !((conf->data_type == MOST_CH_ISOC_AVP) && (conf->packets_per_xact != 0xFF))) { mdev->padding_active[channel] = false; - conf->extra_len = 0; goto exit; }