Commit d6f7737d authored by Christian Gromm's avatar Christian Gromm Committed by Greg Kroah-Hartman
Browse files

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: default avatarChristian Gromm <christian.gromm@microchip.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f13f6981
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;
	}