================================================================ Index: SOURCES/mt-st-remove-unused-code.patch diff -u /dev/null SOURCES/mt-st-remove-unused-code.patch:1.1 --- /dev/null Fri May 18 22:15:16 2007 +++ SOURCES/mt-st-remove-unused-code.patch Fri May 18 22:15:10 2007 @@ -0,0 +1,39 @@ +diff -Nur mt-st-0.9b.orig/mtio.h mt-st-0.9b.remove-unused-code/mtio.h +--- mt-st-0.9b.orig/mtio.h 2005-08-16 22:16:28.000000000 +0300 ++++ mt-st-0.9b.remove-unused-code/mtio.h 2007-05-18 23:13:33.000000000 +0300 +@@ -10,7 +10,9 @@ + + #include + #include ++#if 0 + #include ++#endif + + /* + * Structures and definitions for mag tape io control commands +@@ -259,6 +261,7 @@ + } fmt_arg; + }; + ++#if 0 + struct mtftcmd { + unsigned int ft_wait_before; /* timeout to wait for drive to get ready + * before command is sent. Milliseconds +@@ -281,6 +284,7 @@ + * command + */ + }; ++#endif + + /* mag tape io control commands */ + #define MTIOCTOP _IOW('m', 1, struct mtop) /* do a mag tape op */ +@@ -301,7 +305,9 @@ + #define MTIOCVOLINFO _IOR('m', 8, struct mtvolinfo) /* info about volume */ + #define MTIOCGETSIZE _IOR('m', 9, struct mttapesize)/* get cartridge size*/ + #define MTIOCFTFORMAT _IOWR('m', 10, struct mtftformat) /* format ftape */ ++#if 0 + #define MTIOCFTCMD _IOWR('m', 11, struct mtftcmd) /* send QIC-117 cmd */ ++#endif + + /* Generic Mag Tape (device independent) status macros for examining + * mt_gstat -- HP-UX compatible. ================================================================