[PATCH] Get rid of warnings in pd.c and pcd.c

Sam Ravnborg (sam@ravnborg.org)
Sun, 9 Jun 2002 21:43:29 +0200


--fUYQa+Pmc3FrFX/N
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Removed two unused variables in paride/pd.c and paride/pcd.c.
Agains 2.5.21

Sam

--fUYQa+Pmc3FrFX/N
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="paride.patch"

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.488 -> 1.489
# drivers/block/paride/pcd.c 1.14 -> 1.15
# drivers/block/paride/pd.c 1.23 -> 1.24
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/06/09 sam@mars.ravnborg.org 1.489
# Get rid of two warnings in paride/pd.c and paride/pcd.c
# --------------------------------------------
#
diff -Nru a/drivers/block/paride/pcd.c b/drivers/block/paride/pcd.c
--- a/drivers/block/paride/pcd.c Sun Jun 9 21:21:50 2002
+++ b/drivers/block/paride/pcd.c Sun Jun 9 21:21:50 2002
@@ -330,7 +330,7 @@

int pcd_init (void) /* preliminary initialisation */

-{ int i, unit;
+{ int unit;

if (disable) return -1;

diff -Nru a/drivers/block/paride/pd.c b/drivers/block/paride/pd.c
--- a/drivers/block/paride/pd.c Sun Jun 9 21:21:50 2002
+++ b/drivers/block/paride/pd.c Sun Jun 9 21:21:50 2002
@@ -382,7 +382,7 @@

int pd_init (void)

-{ int i;
+{
request_queue_t * q;

if (disable) return -1;

--fUYQa+Pmc3FrFX/N--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/