Skip to contentSkip to conversation

dvb_ca_en50221.c - vfree() checking

PATCH RESEND Applied [email protected] 1 participant 1 message Jan 4, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH RESEND 4/29 dvb_ca_en50221.c - vfree() checking

dvb_ca_en50221.c vfree() checking cleanups.

Signed-off by: James Lamanna <[email protected]>

 dvb_ca_en50221.c |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)
drivers/media/dvb/dvb-core/dvb_ca_en50221.c +1 -2
@@ -805,8 +805,7 @@
         down_write(&ca->slot_info[slot].sem);
         ca->pub->slot_shutdown(ca->pub, slot);
         ca->slot_info[slot].slot_state = DVB_CA_SLOTSTATE_NONE;
-	if (ca->slot_info[slot].rx_buffer.data)
-		vfree(ca->slot_info[slot].rx_buffer.data);
+	vfree(ca->slot_info[slot].rx_buffer.data);
         ca->slot_info[slot].rx_buffer.data = NULL;
         up_write(&ca->slot_info[slot].sem);
 

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors