Commit Graph

221705 Commits

Author SHA1 Message Date
apb
61a24e509e Wrap several unused static inline functions with #if 0.
I didn't delete them because I suspect that they might be needed later.
2013-10-18 08:39:22 +00:00
skrll
f4f9bf4df7 Wrap some long lines. 2013-10-18 08:35:24 +00:00
apb
f07170b2ba Don't refer to uninitialised variable 'v'
in case C(UR_GET_DESCRIPTOR, UT_READ_CLASS_DEVICE)
in xhci_root_ctrl_start().
This code was apparently pasted from the ehci driver.

OK nick.
2013-10-18 08:25:49 +00:00
apb
5fbd295117 Delete unused function
static inline void egprintstat(u_char);
2013-10-18 08:09:37 +00:00
mbalmer
57b6509ecb revert previous 2013-10-18 08:06:06 +00:00
mrg
5faa0fd95c remove some set-but unused variables. 2013-10-18 08:04:47 +00:00
mbalmer
b2f05d7f17 add a device-major for lua(4) 2013-10-18 08:03:48 +00:00
mbalmer
762ff41435 fix CVS marker and copyright year 2013-10-18 07:49:06 +00:00
mbalmer
15d6254306 check lua_tostring()'s return value 2013-10-18 07:46:55 +00:00
mrg
16b81f3bcd convert a DIAGNOSTIC / panic into a KASSERTMSG(). 2013-10-18 02:20:15 +00:00
mrg
23d3e330cb convert to full ANSI C. 2013-10-18 02:19:12 +00:00
riz
31095efe60 Before testing the value of HAVE_GCC, test if it's defined. 2013-10-18 01:12:00 +00:00
riz
65fba94655 C requires a statement after a label, and a declaration is not a
statement, so create a block using {}.  From christos.
2013-10-18 00:03:35 +00:00
christos
fc8781bab9 Avoid casting gymnastics that lead to pointer aliasing by introducing an
inline function.
2013-10-17 23:58:05 +00:00
christos
b9ba14885c remove always inline because new gcc bitches. 2013-10-17 23:56:17 +00:00
christos
8855c55412 add missing _ 2013-10-17 23:05:08 +00:00
christos
f0676b1145 we need to return something here. 2013-10-17 23:04:20 +00:00
joerg
defe44bfc7 Explicitly include bsd.clean.mk for cleandir. 2013-10-17 22:07:59 +00:00
christos
b787afbfb6 - remove unused variables
- move variables inside ifdef sections
- ifdef notdef unused code
- use __USE for debugging variables
2013-10-17 21:24:24 +00:00
christos
1f73a688da remove unused variable 2013-10-17 21:23:05 +00:00
christos
f14031c90e move notyet variable into notyet section 2013-10-17 21:22:28 +00:00
christos
abf8e02e90 add __USE for debugging variables 2013-10-17 21:22:01 +00:00
christos
3abacce2d8 - remove unused variables
- moved debugging variable into debugging ifdef
2013-10-17 21:20:10 +00:00
christos
e794833e32 remove unused variables 2013-10-17 21:19:40 +00:00
christos
6888745cca remove unused variable 2013-10-17 21:18:43 +00:00
christos
cafe8b9a3c remove unused variables and __USE a debugging variable 2013-10-17 21:16:12 +00:00
christos
767345987a remove unused variables 2013-10-17 21:15:18 +00:00
christos
b94bb9347c define a new macro that does not declare variables used in output. 2013-10-17 21:15:00 +00:00
christos
86aec73c13 annotate some unused variables the authors want to keep 2013-10-17 21:14:05 +00:00
christos
e61d329a40 __USE a debugging variable 2013-10-17 21:12:56 +00:00
christos
6a8eb50e91 remove set but unused variables 2013-10-17 21:12:24 +00:00
christos
89198fe5bf use the parameter for instruction macros 2013-10-17 21:11:15 +00:00
christos
c829de6452 remove unused variable 2013-10-17 21:08:16 +00:00
christos
415c6c7ed0 - remove unused variables
- move ifdef variables inside ifdef sections
2013-10-17 21:07:37 +00:00
christos
c26593e016 remove unused variable 2013-10-17 21:06:47 +00:00
christos
d64c5a360b - remove unused variables
- move debugging code inside debugging sections
2013-10-17 21:06:15 +00:00
christos
dc3a4b222f __USE a debugging var 2013-10-17 21:05:41 +00:00
christos
9fda064713 remove usused code 2013-10-17 21:04:44 +00:00
christos
ba0dd1c1e6 remove unused code 2013-10-17 21:03:50 +00:00
christos
6069744732 - remove unused variables
- add _NOERROR flavor macros for the case where errors are ignored.
2013-10-17 21:03:27 +00:00
christos
cae86aa949 - remove unused variables
- add debug ifdefs for debugging variables
- __USE() where appropriate.
2013-10-17 21:01:08 +00:00
christos
148f2a4a9b __USE() unused variables 2013-10-17 20:59:16 +00:00
christos
b56b5d923d __USE a debugging variable 2013-10-17 20:58:55 +00:00
christos
5ca5370483 remove unused variable, and move variable used only by XEN in the XEN ifdef. 2013-10-17 20:57:58 +00:00
christos
951530b23a initialize a variable, hi gcc again! 2013-10-17 20:57:06 +00:00
christos
9263de029f remove unused code from macro 2013-10-17 20:56:02 +00:00
christos
641eff3991 remove unused code. 2013-10-17 20:55:30 +00:00
christos
289bc9f713 move module code inside module ifdef 2013-10-17 20:54:24 +00:00
wiz
d19876761f Remove trailing whitespace. 2013-10-17 20:43:49 +00:00
jnemeth
20362f9ef2 - DPRINTF(("val is %d\n", val)); -> DPRINTF(("val is %d\n", var));
- mdoclint:
  - .Nd should not end with period
  - remove trailing spaces
2013-10-17 19:37:56 +00:00