From 70dada1a055e91802675ecd2eeb07abec8948027 Mon Sep 17 00:00:00 2001 From: Cristina Opriceana Date: Mon, 16 Mar 2015 21:55:15 +0200 Subject: [PATCH] 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-format-patch failed