2.1.21-patch_fs-1

Keith Owens (kaos@ocs.com.au)
Wed, 15 Jan 1997 18:39:37 +1100


Removed unused variables.

diff -ur linux-2.1.21.orig/fs/dquot.c linux/fs/dquot.c
--- linux-2.1.21.orig/fs/dquot.c Wed Jan 1 06:19:32 1997
+++ linux/fs/dquot.c Wed Jan 15 13:56:40 1997
@@ -586,7 +586,6 @@
{
struct dquot *dquot;
struct dqblk dq_dqblk;
- int error;

if (dqblk == (struct dqblk *)NULL)
return(-EFAULT);
@@ -660,7 +659,6 @@

static int get_stats(caddr_t addr)
{
- int error;

dqstats.allocated_dquots = nr_dquots;
dqstats.free_dquots = nr_free_dquots;
diff -ur linux-2.1.21.orig/fs/ncpfs/inode.c linux/fs/ncpfs/inode.c
--- linux-2.1.21.orig/fs/ncpfs/inode.c Wed Jan 15 13:02:54 1997
+++ linux/fs/ncpfs/inode.c Wed Jan 15 14:29:00 1997
@@ -555,7 +555,6 @@
int
init_module( void)
{
- int status;

DPRINTK("ncpfs: init_module called\n");

diff -ur linux-2.1.21.orig/fs/smbfs/inode.c linux/fs/smbfs/inode.c
--- linux-2.1.21.orig/fs/smbfs/inode.c Wed Jan 15 13:02:55 1997
+++ linux/fs/smbfs/inode.c Wed Jan 15 14:28:31 1997
@@ -444,7 +444,6 @@
int
init_module(void)
{
- int status;

DPRINTK("smbfs: init_module called\n");