From: Cristina Opriceana Date: Mon, 16 Mar 2015 19:55:15 +0000 (+0200) Subject: Staging: rtl8192u: Do not add new typedefs X-Git-Tag: omap-for-v4.1/fixes-rc1~165^2~138^2~359 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70dada1a055e91802675ecd2eeb07abec8948027;p=pandora-kernel.git Staging: rtl8192u: Do not add new typedefs This patch removes the dig_t and DRxPathSel type definitions in order to avoid the following warning: "WARNING: Do not add new typedefs". Done with coccinelle and this script: @r@ type t; identifier id; @@ typedef struct id {...} t; @script:python get_name@ t << r.t; tdres; @@ coccinelle.tdres = t.replace("_t", ""); @r_match@ type r.t; identifier r.id; identifier get_name.tdres; @@ -typedef struct -id +tdres {...} -t ; @r_replace@ type r.t; identifier get_name.tdres; @@ -t +struct tdres Signed-off-by: Cristina Opriceana Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed