Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0f15b151 authored by Alan Cox's avatar Alan Cox Committed by David S. Miller
Browse files

isdn: remove dead code



multi is assigned to 0 and then acts as a constant. Remove the dead
code.

Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6a328d8c
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -277,7 +277,6 @@ l1oip_socket_send(struct l1oip *hc, u8 localcodec, u8 channel, u32 chanmask,
		  u16 timebase, u8 *buf, int len)
{
	u8 *p;
	int multi = 0;
	u8 frame[len + 32];
	struct socket *socket = NULL;

@@ -317,9 +316,7 @@ l1oip_socket_send(struct l1oip *hc, u8 localcodec, u8 channel, u32 chanmask,
		*p++ = hc->id >> 8;
		*p++ = hc->id;
	}
	*p++ = (multi == 1) ? 0x80 : 0x00 + channel; /* m-flag, channel */
	if (multi == 1)
		*p++ = len; /* length */
	*p++ =  0x00 + channel; /* m-flag, channel */
	*p++ = timebase >> 8; /* time base */
	*p++ = timebase;