public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] MIPS: Remove unreferenced _IOC_SLMASK macro in ioctl.h.
@ 2007-02-24 11:17 Robert P. J. Day
  2007-02-24 12:25 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Robert P. J. Day @ 2007-02-24 11:17 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: Ralf Baechle, Andrew Morton


  Delete the definition of the apparently unreferenced macro
_IOC_SLMASK.

Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>

---

diff --git a/include/asm-mips/ioctl.h b/include/asm-mips/ioctl.h
index cba641a..2036fcb 100644
--- a/include/asm-mips/ioctl.h
+++ b/include/asm-mips/ioctl.h
@@ -38,11 +38,6 @@
 #define _IOC_DIRSHIFT	(_IOC_SIZESHIFT+_IOC_SIZEBITS)

 /*
- * We to additionally limit parameters to a maximum 255 bytes.
- */
-#define _IOC_SLMASK	0xff
-
-/*
  * Direction bits _IOC_NONE could be 0, but OSF/1 gives it a bit.
  * And this turns out useful to catch old ioctl numbers in header
  * files for us.

-- 
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://fsdev.net/wiki/index.php?title=Main_Page
========================================================================

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] MIPS: Remove unreferenced _IOC_SLMASK macro in ioctl.h.
  2007-02-24 11:17 [PATCH] MIPS: Remove unreferenced _IOC_SLMASK macro in ioctl.h Robert P. J. Day
@ 2007-02-24 12:25 ` Ralf Baechle
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2007-02-24 12:25 UTC (permalink / raw)
  To: Robert P. J. Day; +Cc: Linux Kernel Mailing List, Andrew Morton

On Sat, Feb 24, 2007 at 06:17:09AM -0500, Robert P. J. Day wrote:

>   Delete the definition of the apparently unreferenced macro
> _IOC_SLMASK.

Applied.  Thanks,

  Ralf

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-02-24 12:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-24 11:17 [PATCH] MIPS: Remove unreferenced _IOC_SLMASK macro in ioctl.h Robert P. J. Day
2007-02-24 12:25 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox