提交 1ccb5a6f 创建 作者: Peter H. Froehlich's avatar Peter H. Froehlich 提交者: Frans Kaashoek

Remove unused variable, nits.

上级 2c60b7f3
......@@ -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){
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论