NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/46368: Remove break in ugen.



>Number:         46368
>Category:       kern
>Synopsis:       Remove break in ugen.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 25 07:50:00 +0000 2012
>Originator:     Henning Petersen
>Release:        NetBSD-current
>Organization:
>Environment:
>Description:
Remove break in ugen.
>How-To-Repeat:

>Fix:
diff -u -p -r1.118 ugen.c
--- sys/dev/usb/ugen.c  6 Mar 2012 03:35:29 -0000       1.118
+++ sys/dev/usb/ugen.c  22 Apr 2012 10:47:37 -0000
@@ -2011,7 +2011,6 @@ ugenkqfilter(dev_t dev, struct knote *kn
                case UE_BULK:
                        kn->kn_fop = &ugenread_bulk_filtops;
                        break;
-                       break;
                default:
                        return (EINVAL);
                }



Home | Main Index | Thread Index | Old Index