Cleanup with gcc.
This commit is contained in:
parent
ae20e98d5e
commit
98124a8082
@ -77,7 +77,6 @@ struct driver *dp; /* Device dependent entry points. */
|
|||||||
|
|
||||||
int r, proc_nr;
|
int r, proc_nr;
|
||||||
message mess;
|
message mess;
|
||||||
int s, p;
|
|
||||||
|
|
||||||
/* Get a DMA buffer. */
|
/* Get a DMA buffer. */
|
||||||
init_buffer();
|
init_buffer();
|
||||||
@ -208,7 +207,6 @@ message *mp; /* pointer to read or write message */
|
|||||||
*/
|
*/
|
||||||
static iovec_t iovec[NR_IOREQS];
|
static iovec_t iovec[NR_IOREQS];
|
||||||
iovec_t *iov;
|
iovec_t *iov;
|
||||||
phys_bytes iovec_phys, user_iovec_phys;
|
|
||||||
phys_bytes iovec_size;
|
phys_bytes iovec_size;
|
||||||
unsigned nr_req;
|
unsigned nr_req;
|
||||||
int r;
|
int r;
|
||||||
@ -318,6 +316,7 @@ PUBLIC void nop_cleanup()
|
|||||||
PUBLIC int nop_cancel(struct driver *dr, message *m)
|
PUBLIC int nop_cancel(struct driver *dr, message *m)
|
||||||
{
|
{
|
||||||
/* Nothing to do for cancel. */
|
/* Nothing to do for cancel. */
|
||||||
|
return(OK);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*===========================================================================*
|
/*===========================================================================*
|
||||||
@ -326,6 +325,7 @@ PUBLIC int nop_cancel(struct driver *dr, message *m)
|
|||||||
PUBLIC int nop_select(struct driver *dr, message *m)
|
PUBLIC int nop_select(struct driver *dr, message *m)
|
||||||
{
|
{
|
||||||
/* Nothing to do for select. */
|
/* Nothing to do for select. */
|
||||||
|
return(OK);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*============================================================================*
|
/*============================================================================*
|
||||||
@ -337,7 +337,6 @@ message *mp; /* pointer to ioctl request */
|
|||||||
{
|
{
|
||||||
/* Carry out a partition setting/getting request. */
|
/* Carry out a partition setting/getting request. */
|
||||||
struct device *dv;
|
struct device *dv;
|
||||||
phys_bytes user_phys, entry_phys;
|
|
||||||
struct partition entry;
|
struct partition entry;
|
||||||
int s;
|
int s;
|
||||||
|
|
||||||
|
@ -160,7 +160,6 @@ int *io_ok;
|
|||||||
*/
|
*/
|
||||||
iovec_t iovec1;
|
iovec_t iovec1;
|
||||||
off_t position;
|
off_t position;
|
||||||
int s;
|
|
||||||
|
|
||||||
if(io_ok)
|
if(io_ok)
|
||||||
*io_ok = 0;
|
*io_ok = 0;
|
||||||
@ -197,7 +196,6 @@ struct part_entry *table; /* four entries */
|
|||||||
iovec_t iovec1;
|
iovec_t iovec1;
|
||||||
off_t position;
|
off_t position;
|
||||||
off_t isosize;
|
off_t isosize;
|
||||||
int s;
|
|
||||||
#ifndef CD_SECTOR_SIZE
|
#ifndef CD_SECTOR_SIZE
|
||||||
#define CD_SECTOR_SIZE 2048
|
#define CD_SECTOR_SIZE 2048
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user