mirror of https://gitee.com/openkylin/qemu.git
virtio-9p: Remove statement without effect (fix warning from cppcheck)
cppcheck report: virtio-9p.c:197: warning: Redundant assignment of "flags" to itself Signed-off-by: Stefan Weil <weil@mail.berlios.de> Reviewed-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
1f2e98b62d
commit
9694b5d11a
|
@ -194,7 +194,6 @@ static int v9fs_do_open2(V9fsState *s, char *fullname, uid_t uid, gid_t gid,
|
|||
cred.fc_uid = uid;
|
||||
cred.fc_gid = gid;
|
||||
cred.fc_mode = mode & 07777;
|
||||
flags = flags;
|
||||
|
||||
return s->ops->open2(&s->ctx, fullname, flags, &cred);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue