mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "O.Sezer" <sezeroz@ttnet.net.tr>
To: linux-kernel@vger.kernel.org
Cc: marcelo.tosatti@cyclades.com
Subject: [PATCH 2.4] various "unused" warnings
Date: Fri, 13 Aug 2004 22:21:17 +0300	[thread overview]
Message-ID: <411D14AD.4090908@ttnet.net.tr> (raw)

[-- Attachment #1: Type: text/plain, Size: 10 bytes --]

$SUBJECT


[-- Attachment #2: riva-unused.diff --]
[-- Type: text/plain, Size: 390 bytes --]

--- 27rc5~/drivers/video/riva/fbdev.c	2004-08-07 14:02:36.000000000 +0300
+++ 27rc5/drivers/video/riva/fbdev.c	2004-08-07 14:09:39.000000000 +0300
@@ -2221,7 +2221,6 @@
 	release_mem_region(rinfo->fb_base_phys, rinfo->base1_region_size);
 err_out_free_base0:
 	release_mem_region(rinfo->ctrl_base_phys, rinfo->base0_region_size);
-err_out_kfree:
 	kfree(rinfo);
 err_out:
 	return -ENODEV;

[-- Attachment #3: sstfb-fixes.diff --]
[-- Type: text/plain, Size: 717 bytes --]

--- 27rc5~/drivers/video/sstfb.c	2004-02-18 15:36:31.000000000 +0200
+++ 27rc5/drivers/video/sstfb.c	2004-08-07 14:09:39.000000000 +0300
@@ -968,7 +968,6 @@
                        struct fb_info *info)
 {
 #define sst_info	((struct sstfb_info *) info)
-	int i;
 	u_long p;
 	u32 tmp, val;
 	u32 fbiinit0;
@@ -980,12 +979,14 @@
 		
 #if (SST_DEBUG_VAR >0)
 	/* tmp ioctl : dumps fb_display[0-5] */
-	case _IO('F', 0xdb):		/* 0x46db */
+	case _IO('F', 0xdb):		/* 0x46db */ {
+		int i;
 		f_dprintk("dumping fb_display[0-5].var\n");
 		for (i = 0 ; i< 6 ; i++) {
 			print_var(&fb_display[i].var, "var(%d)", i);
 		}
 		return 0;
+	}
 #endif /* (SST_DEBUG_VAR >0) */
 
 	/* fills the lfb up to given count of pixels */

[-- Attachment #4: matroxfb_g450-unused.diff --]
[-- Type: text/plain, Size: 349 bytes --]

--- 27rc5~/drivers/video/matrox/matroxfb_g450.c	2003-06-13 17:51:37.000000000 +0300
+++ 27rc5/drivers/video/matrox/matroxfb_g450.c	2004-08-07 14:09:39.000000000 +0300
@@ -558,7 +558,7 @@
 }
 
 static int matroxfb_g450_verify_mode(void* md, u_int32_t arg) {
-	MINFO_FROM(md);
+//	MINFO_FROM(md);
 	
 	switch (arg) {
 		case MATROXFB_OUTPUT_MODE_PAL:

[-- Attachment #5: sddr09-unused.diff --]
[-- Type: text/plain, Size: 462 bytes --]

--- 27rc5~/drivers/usb/storage/sddr09.c	2003-08-25 14:44:42.000000000 +0300
+++ 27rc5/drivers/usb/storage/sddr09.c	2004-08-07 14:09:39.000000000 +0300
@@ -444,6 +444,7 @@
  * byte 0: opcode: 03
  * byte 4: data length
  */
+#if 0
 static int
 sddr09_request_sense(struct us_data *us, unsigned char *sensebuf, int buflen) {
 	unsigned char command[12] = {
@@ -465,7 +466,7 @@
 
 	return result;
 }
-
+#endif
 /*
  * Read Command: 12 bytes.
  * byte 0: opcode: E8

                 reply	other threads:[~2004-08-13 19:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=411D14AD.4090908@ttnet.net.tr \
    --to=sezeroz@ttnet.net.tr \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo.tosatti@cyclades.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®