Fix various trivial warnings from LINT
This commit is contained in:
parent
a87b535090
commit
94db13fe98
@ -72,6 +72,7 @@ static void ida_alloc_qcb(struct ida_softc *ida);
|
||||
static void ida_construct_qcb(struct ida_softc *ida);
|
||||
static void ida_start(struct ida_softc *ida);
|
||||
static void ida_done(struct ida_softc *ida, struct ida_qcb *qcb);
|
||||
static void ida_wait(struct ida_softc *ida, struct ida_qcb *qcb, int delay);
|
||||
|
||||
void
|
||||
ida_free(struct ida_softc *ida)
|
||||
@ -416,6 +417,7 @@ ida_start(struct ida_softc *ida)
|
||||
}
|
||||
}
|
||||
|
||||
static
|
||||
void
|
||||
ida_wait(struct ida_softc *ida, struct ida_qcb *qcb, int delay)
|
||||
{
|
||||
|
@ -742,7 +742,7 @@ cd9660_vget_internal(mp, ino, vpp, relocated, isodir)
|
||||
struct iso_mnt *imp;
|
||||
struct iso_node *ip;
|
||||
struct buf *bp;
|
||||
struct vnode *vp, *nvp;
|
||||
struct vnode *vp;
|
||||
dev_t dev;
|
||||
int error;
|
||||
|
||||
|
@ -978,7 +978,6 @@ void cxtimeout (void *a)
|
||||
|
||||
|
||||
#if defined(__FreeBSD__) && (__FreeBSD__ > 1 )
|
||||
static int cx_devsw_installed;
|
||||
static void cx_drvinit(void *unused)
|
||||
{
|
||||
|
||||
|
@ -1137,7 +1137,7 @@ STATIC int stlistop(struct tty *tp, int rw)
|
||||
STATIC struct tty *stlidevtotty(dev_t dev)
|
||||
{
|
||||
#if DEBUG
|
||||
printf("stlidevtotty(dev=%x)\n", dev);
|
||||
printf("stlidevtotty(dev=%s)\n", devtoname(dev));
|
||||
#endif
|
||||
return((struct tty *) stli_dev2port(dev));
|
||||
}
|
||||
|
@ -557,8 +557,6 @@ static struct cdevsw stl_cdevsw = {
|
||||
/* bmaj */ -1
|
||||
};
|
||||
|
||||
static int stl_devsw_installed;
|
||||
|
||||
static void stl_drvinit(void *unused)
|
||||
{
|
||||
|
||||
@ -956,7 +954,7 @@ STATIC int stlstop(struct tty *tp, int rw)
|
||||
STATIC struct tty *stldevtotty(dev_t dev)
|
||||
{
|
||||
#if DEBUG
|
||||
printf("stldevtotty(dev=%x)\n", dev);
|
||||
printf("stldevtotty(dev=%s)\n", devtoname(dev));
|
||||
#endif
|
||||
return((struct tty *) stl_dev2port(dev));
|
||||
}
|
||||
|
@ -742,7 +742,7 @@ cd9660_vget_internal(mp, ino, vpp, relocated, isodir)
|
||||
struct iso_mnt *imp;
|
||||
struct iso_node *ip;
|
||||
struct buf *bp;
|
||||
struct vnode *vp, *nvp;
|
||||
struct vnode *vp;
|
||||
dev_t dev;
|
||||
int error;
|
||||
|
||||
|
@ -912,7 +912,7 @@ DBPRINT((" vntodn "));
|
||||
int
|
||||
devfs_dntovn(dn_p dnp, struct vnode **vn_pp)
|
||||
{
|
||||
struct vnode *vn_p, *nvp;
|
||||
struct vnode *vn_p;
|
||||
int error = 0;
|
||||
struct proc *p = curproc; /* XXX */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user