freebsd-skq/sys/dev/xen
Roger Pau Monné 7803499440 xen-netfront: remove pointless assignment in xn_ioctl
The variable error is assigned to 0 before entering the switch.
Assigning error to 0 before break pointless rewrites the real error
value that should be returned.

Coverity ID:		1304974
Submitted by:		Wei Liu <wei.liu2@citrix.com>
Reviewed by:		royger
Sponsored by:		Citrix Systems R&D
Differential revision:	https://reviews.freebsd.org/D5250
2016-02-11 11:50:31 +00:00
..
balloon xen: Code cleanup and small bug fixes 2015-10-21 10:44:07 +00:00
blkback xen: Code cleanup and small bug fixes 2015-10-21 10:44:07 +00:00
blkfront Add two more assertions to catch busdma problems. Each segment provided 2016-01-11 21:02:30 +00:00
console xen/console: Introduce a new console driver for Xen guest 2015-10-08 16:39:43 +00:00
control xen: fix dropping bitmap IPIs during resume 2015-11-18 18:11:19 +00:00
debug xen: add a handler for the debug interrupt 2015-03-30 07:09:07 +00:00
evtchn xen: import a proper event channel user-space device 2014-10-22 16:57:11 +00:00
grant_table xen: Code cleanup and small bug fixes 2015-10-21 10:44:07 +00:00
netback xen: Code cleanup and small bug fixes 2015-10-21 10:44:07 +00:00
netfront xen-netfront: remove pointless assignment in xn_ioctl 2016-02-11 11:50:31 +00:00
pci Remove duplicate pci_driver class declaration. 2015-01-02 08:57:36 +00:00
pcifront Add domain support to PCI bus allocation 2015-09-16 23:34:51 +00:00
privcmd xen: introduce a newbus function to allocate unused memory 2015-05-08 14:48:40 +00:00
pvcpu xen: add missing files 2014-06-16 08:54:04 +00:00
timer Generalized parts of the XEN timer code into a generic pvclock 2015-02-04 08:26:43 +00:00
xenpci xen: Code cleanup and small bug fixes 2015-10-21 10:44:07 +00:00
xenstore xen: Code cleanup and small bug fixes 2015-10-21 10:44:07 +00:00