Commit 4c4cdfa1 authored by Felipe Balbi's avatar Felipe Balbi Committed by Luciano Coelho

net: wl12xx: remove the nops

Nops aren't needed. When we actually need
those calls, then we add them with meat
and barbecue sauce.
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
Signed-off-by: default avatarLuciano Coelho <coelho@ti.com>
parent 77d7d7a3
...@@ -107,14 +107,6 @@ static void wl1271_sdio_enable_interrupts(struct wl1271 *wl) ...@@ -107,14 +107,6 @@ static void wl1271_sdio_enable_interrupts(struct wl1271 *wl)
enable_irq(wl->irq); enable_irq(wl->irq);
} }
static void wl1271_sdio_reset(struct wl1271 *wl)
{
}
static void wl1271_sdio_init(struct wl1271 *wl)
{
}
static void wl1271_sdio_raw_read(struct wl1271 *wl, int addr, void *buf, static void wl1271_sdio_raw_read(struct wl1271 *wl, int addr, void *buf,
size_t len, bool fixed) size_t len, bool fixed)
{ {
...@@ -215,8 +207,6 @@ static int wl1271_sdio_set_power(struct wl1271 *wl, bool enable) ...@@ -215,8 +207,6 @@ static int wl1271_sdio_set_power(struct wl1271 *wl, bool enable)
static struct wl1271_if_operations sdio_ops = { static struct wl1271_if_operations sdio_ops = {
.read = wl1271_sdio_raw_read, .read = wl1271_sdio_raw_read,
.write = wl1271_sdio_raw_write, .write = wl1271_sdio_raw_write,
.reset = wl1271_sdio_reset,
.init = wl1271_sdio_init,
.power = wl1271_sdio_set_power, .power = wl1271_sdio_set_power,
.dev = wl1271_sdio_wl_to_dev, .dev = wl1271_sdio_wl_to_dev,
.enable_irq = wl1271_sdio_enable_interrupts, .enable_irq = wl1271_sdio_enable_interrupts,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment