lkml.org 
[lkml]   [2002]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Get rid of warnings in pd.c and pcd.c
Removed two unused variables in paride/pd.c and paride/pcd.c.
Agains 2.5.21

Sam
# 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;
\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.024 / U:16.460 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site