Commit 676a1caa authored by Martin Dalecki's avatar Martin Dalecki Committed by Linus Torvalds

[PATCH] kill warnings 2/19

This is fixing warnings about unused variables in
pd.c and pcd.c
parent 42ca30b4
...@@ -329,8 +329,8 @@ static void pcd_init_units( void ) ...@@ -329,8 +329,8 @@ static void pcd_init_units( void )
} }
int pcd_init (void) /* preliminary initialisation */ int pcd_init (void) /* preliminary initialisation */
{
{ int i, unit; int unit;
if (disable) return -1; if (disable) return -1;
......
...@@ -381,9 +381,8 @@ void pd_init_units( void ) ...@@ -381,9 +381,8 @@ void pd_init_units( void )
} }
int pd_init (void) int pd_init (void)
{
{ int i; request_queue_t * q;
request_queue_t * q;
if (disable) return -1; if (disable) return -1;
if (devfs_register_blkdev(MAJOR_NR,name,&pd_fops)) { if (devfs_register_blkdev(MAJOR_NR,name,&pd_fops)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment