Remove unused variable, nits.

This commit is contained in:
Peter H. Froehlich 2015-09-26 23:10:25 -04:00 committed by Frans Kaashoek
parent 2c60b7f31f
commit 1ccb5a6fca

View file

@ -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){