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

Commit 30c5f8ec authored by Matvejchikov Ilya's avatar Matvejchikov Ilya Committed by David S. Miller
Browse files

slip: remove redundant NULL-pointer check before calling slhc_free

parent 5c25f686
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -194,7 +194,6 @@ static int sl_alloc_bufs(struct slip *sl, int mtu)
err_exit:
err_exit:
#ifdef SL_INCLUDE_CSLIP
#ifdef SL_INCLUDE_CSLIP
	kfree(cbuff);
	kfree(cbuff);
	if (slcomp)
	slhc_free(slcomp);
	slhc_free(slcomp);
#endif
#endif
	kfree(xbuff);
	kfree(xbuff);