Skip to content

Commit

Permalink
Remove unused return value from signal_irq callback
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Dubov <oakad@yahoo.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
  • Loading branch information
Alex Dubov authored and Pierre Ossman committed Feb 4, 2007
1 parent 2e8ce5e commit 50743f4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions drivers/misc/tifm_7xx1.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include <linux/dma-mapping.h>

#define DRIVER_NAME "tifm_7xx1"
#define DRIVER_VERSION "0.6"
#define DRIVER_VERSION "0.7"

static void tifm_7xx1_eject(struct tifm_adapter *fm, struct tifm_dev *sock)
{
Expand Down Expand Up @@ -91,7 +91,7 @@ static irqreturn_t tifm_7xx1_isr(int irq, void *dev_id)
if (fm->sockets[cnt]) {
if (sock_irq_status &&
fm->sockets[cnt]->signal_irq)
sock_irq_status = fm->sockets[cnt]->
fm->sockets[cnt]->
signal_irq(fm->sockets[cnt],
sock_irq_status);

Expand Down
5 changes: 2 additions & 3 deletions drivers/mmc/tifm_sd.c
Original file line number Diff line number Diff line change
Expand Up @@ -323,8 +323,8 @@ static void tifm_sd_process_cmd(struct tifm_dev *sock, struct tifm_sd *host,
}

/* Called from interrupt handler */
static unsigned int tifm_sd_signal_irq(struct tifm_dev *sock,
unsigned int sock_irq_status)
static void tifm_sd_signal_irq(struct tifm_dev *sock,
unsigned int sock_irq_status)
{
struct tifm_sd *host;
unsigned int host_status = 0, fifo_status = 0;
Expand Down Expand Up @@ -395,7 +395,6 @@ static unsigned int tifm_sd_signal_irq(struct tifm_dev *sock,
dev_dbg(&sock->dev, "host_status %x, fifo_status %x\n",
host_status, fifo_status);
spin_unlock(&sock->lock);
return sock_irq_status;
}

static void tifm_sd_prepare_data(struct tifm_sd *host, struct mmc_command *cmd)
Expand Down
2 changes: 1 addition & 1 deletion include/linux/tifm.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ struct tifm_dev {
tifm_media_id media_id;
unsigned int socket_id;

unsigned int (*signal_irq)(struct tifm_dev *sock,
void (*signal_irq)(struct tifm_dev *sock,
unsigned int sock_irq_status);

struct tifm_driver *drv;
Expand Down

0 comments on commit 50743f4

Please sign in to comment.