Commit 1b29b8d4 authored by Christoph Hellwig's avatar Christoph Hellwig

[PATCH] some HBA compile warning fixes

parent 4518dd8e
...@@ -55,7 +55,6 @@ ...@@ -55,7 +55,6 @@
#include <linux/spinlock.h> #include <linux/spinlock.h>
#include "scsi.h" #include "scsi.h"
#include "hosts.h" #include "hosts.h"
#include "NCR53c406a.h"
/* ============================================================= */ /* ============================================================= */
......
...@@ -974,13 +974,11 @@ static void mega_build_kernel_sg (char *barea, ulong xfersize, mega_scb * pScb, ...@@ -974,13 +974,11 @@ static void mega_build_kernel_sg (char *barea, ulong xfersize, mega_scb * pScb,
mega_ioctl_mbox * mbox); mega_ioctl_mbox * mbox);
#endif #endif
static int megadev_open (struct inode *, struct file *);
static int megadev_ioctl_entry (struct inode *, struct file *, static int megadev_ioctl_entry (struct inode *, struct file *,
unsigned int, unsigned long); unsigned int, unsigned long);
static int megadev_ioctl (struct inode *, struct file *, static int megadev_ioctl (struct inode *, struct file *,
unsigned int, unsigned long); unsigned int, unsigned long);
static mega_scb *megadev_doioctl (mega_host_config *, Scsi_Cmnd *); static mega_scb *megadev_doioctl (mega_host_config *, Scsi_Cmnd *);
static int megadev_close (struct inode *, struct file *);
static void megadev_ioctl_done (Scsi_Cmnd *); static void megadev_ioctl_done (Scsi_Cmnd *);
static int mega_init_scb (mega_host_config *); static int mega_init_scb (mega_host_config *);
static void enq_scb_freelist (mega_host_config *, mega_scb *, static void enq_scb_freelist (mega_host_config *, mega_scb *,
......
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