Module Name: src Committed By: maxv Date: Mon Sep 23 06:53:09 UTC 2019
Modified Files: src/sys/compat/common: if_43.c Log Message: Remove unused assignment. Found by the lgtm bot. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/compat/common/if_43.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/compat/common/if_43.c diff -u src/sys/compat/common/if_43.c:1.22 src/sys/compat/common/if_43.c:1.23 --- src/sys/compat/common/if_43.c:1.22 Fri May 17 07:37:11 2019 +++ src/sys/compat/common/if_43.c Mon Sep 23 06:53:09 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: if_43.c,v 1.22 2019/05/17 07:37:11 msaitoh Exp $ */ +/* $NetBSD: if_43.c,v 1.23 2019/09/23 06:53:09 maxv Exp $ */ /* * Copyright (c) 1982, 1986, 1989, 1990, 1993 @@ -32,7 +32,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_43.c,v 1.22 2019/05/17 07:37:11 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_43.c,v 1.23 2019/09/23 06:53:09 maxv Exp $"); #if defined(_KERNEL_OPT) #include "opt_compat_netbsd.h" @@ -253,7 +253,7 @@ compat_ifioctl(struct socket *so, u_long } if (cmd != ocmd) { oifr = data; - data = ifr = &ifrb; + ifr = &ifrb; IFREQO2N_43(oifr, ifr); }