pinctrl: remove two unused global variables

Submitted by Uwe Kleine-König on Dec. 7, 2011, 10:16 p.m.

Details

Message ID 1323296184-30227-1-git-send-email-u.kleine-koenig@pengutronix.de
State New
Headers show

Commit Message

Uwe Kleine-König Dec. 7, 2011, 10:16 p.m.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/pinctrl/pinmux.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

Comments

Linus Walleij Dec. 8, 2011, 3:08 p.m.
2011/12/7 Uwe Kleine-König <u.kleine-koenig@pengutronix.de>:

> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Applied, with some rewriting. I have a hard time handling this
kind of mails:

Content-Transfer-Encoding: base64
(...)
U2lnbmVkLW9mZi1ieTogVXdlIEtsZWluZS1Lw7ZuaWcgPHUua2xlaW5lLWtvZW5pZ0BwZW5ndXRy
b25peC5kZT4KLS0tCiBkcml2ZXJzL3BpbmN0cmwvcGlubXV4LmMgfCAgICA0IC0tLS0KIDEgZmls
ZXMgY2hhbmdlZCwgMCBpbnNlcnRpb25zKCspLCA0IGRlbGV0aW9ucygtKQoKZGlmZiAtLWdpdCBh
(...)

git am won't accept it for some reason.

Any hints?

Linus Walleij

Patch hide | download patch | download mbox

diff --git a/drivers/pinctrl/pinmux.c b/drivers/pinctrl/pinmux.c
index a5467f8..f2c84a9 100644
--- a/drivers/pinctrl/pinmux.c
+++ b/drivers/pinctrl/pinmux.c
@@ -32,10 +32,6 @@ 
 static DEFINE_MUTEX(pinmux_list_mutex);
 static LIST_HEAD(pinmux_list);
 
-/* List of pinmux hogs */
-static DEFINE_MUTEX(pinmux_hoglist_mutex);
-static LIST_HEAD(pinmux_hoglist);
-
 /* Global pinmux maps, we allow one set only */
 static struct pinmux_map const *pinmux_maps;
 static unsigned pinmux_maps_num;