From 75bc5fad154590e8dda5772669cf9b6f44bb873b Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Tue, 18 Feb 2014 15:18:10 +0300 Subject: [PATCH] staging: gdm724x: cleanup alloc_tx_sdu_struct() The kfree(t_sdu->buf) sets off a private static checker warning because "t_sdu->buf" is always NULL. This function just allocates two pointers so we can re-write it to be simpler. Signed-off-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed