Remove unused variable, nits.
This commit is contained in:
parent
2c60b7f31f
commit
1ccb5a6fca
1 changed files with 5 additions and 6 deletions
|
@ -351,11 +351,10 @@ sys_mknod(void)
|
|||
{
|
||||
struct inode *ip;
|
||||
char *path;
|
||||
int len;
|
||||
int major, minor;
|
||||
|
||||
begin_op();
|
||||
if((len=argstr(0, &path)) < 0 ||
|
||||
if((argstr(0, &path)) < 0 ||
|
||||
argint(1, &major) < 0 ||
|
||||
argint(2, &minor) < 0 ||
|
||||
(ip = create(path, T_DEV, major, minor)) == 0){
|
||||
|
|
Loading…
Reference in a new issue