Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Clean up some useless ugliness. NFC.
details: https://anonhg.NetBSD.org/src/rev/9210f4bceb01
branches: trunk
changeset: 935687:9210f4bceb01
user: simonb <simonb%NetBSD.org@localhost>
date: Thu Jul 09 13:43:04 2020 +0000
description:
Clean up some useless ugliness. NFC.
diffstat:
sys/dev/usb/uxrcom.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diffs (29 lines):
diff -r c3ede4f97aa2 -r 9210f4bceb01 sys/dev/usb/uxrcom.c
--- a/sys/dev/usb/uxrcom.c Thu Jul 09 11:40:54 2020 +0000
+++ b/sys/dev/usb/uxrcom.c Thu Jul 09 13:43:04 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uxrcom.c,v 1.1 2020/04/12 01:10:54 simonb Exp $ */
+/* $NetBSD: uxrcom.c,v 1.2 2020/07/09 13:43:04 simonb Exp $ */
/* $OpenBSD: uxrcom.c,v 1.1 2019/03/27 22:08:51 kettenis Exp $ */
/*
@@ -47,7 +47,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uxrcom.c,v 1.1 2020/04/12 01:10:54 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uxrcom.c,v 1.2 2020/07/09 13:43:04 simonb Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -157,9 +157,7 @@
if (!pmf_device_register(self, NULL, NULL))
aprint_error_dev(self, "couldn't establish power handler");
- if (umodem_common_attach(self, sc, uiaa, &ucaa))
- return;
- return;
+ umodem_common_attach(self, sc, uiaa, &ucaa);
}
static int
Home |
Main Index |
Thread Index |
Old Index