mrg
|
41e6463624
|
- remove set but unused variable.
- put variables only inside #ifdef inside that same #ifdef.
use __USE() where appropriate.
|
2013-10-19 21:00:32 +00:00 |
mrg
|
34287b30e3
|
convert ufs_rw{16,32,64}() into real inline functions in all cases,
so that they consume their second arguments properly.
|
2013-10-19 20:12:18 +00:00 |
martin
|
db379ec35c
|
Remove an unused variable
|
2013-10-19 19:47:55 +00:00 |
mrg
|
fa33d35f40
|
- remove unused but set variables.
- use __USE() where necessary.
- remove useless 'volatile' markers
kd.c:consinit() might be wrong for old proms, but i've not
changed it really.
|
2013-10-19 19:40:23 +00:00 |
martin
|
2af58edbe2
|
Mark a potentially unused variable
|
2013-10-19 19:29:59 +00:00 |
martin
|
e13fb3704a
|
Mark unused (in the !FFS_EI case) variables as such.
|
2013-10-19 19:28:13 +00:00 |
christos
|
e5d5564a4b
|
remove __unused now that it is used.
|
2013-10-19 19:22:16 +00:00 |
christos
|
86b6b2fef2
|
make cpu_need_resched() macros consistent; __USE flags
|
2013-10-19 19:20:59 +00:00 |
martin
|
4618c726c3
|
Eliminate a variable only used in diagnostic kernels
|
2013-10-19 19:20:50 +00:00 |
martin
|
d3e65eabc6
|
Remove unused variable
|
2013-10-19 19:13:51 +00:00 |
martin
|
4fc0fb89a3
|
Mark a potentially unused variable
|
2013-10-19 19:10:12 +00:00 |
martin
|
ed33e23721
|
Avoid unused variables
|
2013-10-19 19:08:39 +00:00 |
martin
|
7e04d278d2
|
Mark a variable that is only tested in DIAGNOSTIC kernels as potentially
unused.
|
2013-10-19 19:03:30 +00:00 |
martin
|
8afc72d050
|
cpu_need_resched(ci, type) might not make use of the type argument - mark
the variable declaration accordingly.
|
2013-10-19 18:42:05 +00:00 |
martin
|
2610fadf05
|
Ifdef a variable like its use
|
2013-10-19 18:39:30 +00:00 |
martin
|
69d5d9c026
|
Mark a potentially unused (if an arch implements pmap_update as empty
macro) variable accordingly.
|
2013-10-19 16:33:11 +00:00 |
martin
|
b59cd17e74
|
Mark a potentially unused (ifndef FFS_EI) variable
|
2013-10-19 16:30:57 +00:00 |
martin
|
2f3905777f
|
Mark a potentially unused variable
|
2013-10-19 16:23:17 +00:00 |
martin
|
cc82fef0a2
|
comment out unused code (for documentation purposes)
|
2013-10-19 16:21:57 +00:00 |
martin
|
7536c3dbed
|
Make sure we don't accidently pass an unsolicited packet as "ack only"
(which would dereference unitialized pointers)
|
2013-10-19 16:19:13 +00:00 |
christos
|
c7c7d1300b
|
define constants for scopeid function flags.
|
2013-10-19 15:44:29 +00:00 |
christos
|
c60f6fad95
|
fix userland build, by moving all the unused stuff inside ifdef _KERNEL
|
2013-10-19 15:20:52 +00:00 |
martin
|
9197dcbb29
|
Mark a potentialy unused variable
|
2013-10-19 14:33:07 +00:00 |
skrll
|
bd44ed7096
|
#if 0 some unsed code which should probably be finished.
|
2013-10-19 14:03:04 +00:00 |
skrll
|
e89d113c63
|
Use __unused on a variable used in a KASSERT
|
2013-10-19 14:02:29 +00:00 |
skrll
|
94f8286b66
|
Remove unused variable.
|
2013-10-19 14:00:59 +00:00 |
skrll
|
1e2bd251c8
|
Appease gcc 4.8.
XXX should really use bus_space(9)
|
2013-10-19 13:49:11 +00:00 |
skrll
|
e2826bcdf9
|
__unused
|
2013-10-19 13:29:10 +00:00 |
skrll
|
be4a844aec
|
Remove unused variable.
|
2013-10-19 13:28:36 +00:00 |
skrll
|
3e1d409f65
|
Remember to unmap pagezero once we've finished with it. Found by gcc 4.8.
|
2013-10-19 13:21:43 +00:00 |
skrll
|
c9c30fe47f
|
Actually return any error.
|
2013-10-19 13:18:03 +00:00 |
skrll
|
873caf8c2b
|
Use __unused for a variable and use the correct #ifdef for a block of
code.
|
2013-10-19 13:16:30 +00:00 |
skrll
|
fc56834311
|
Add __unused to a variable
|
2013-10-19 13:15:53 +00:00 |
skrll
|
33c86229f6
|
Sprinkle __unused.
|
2013-10-19 13:13:09 +00:00 |
jnemeth
|
793910b681
|
add FreeBSD ZFS partition type
|
2013-10-19 08:03:52 +00:00 |
christos
|
14a31944e9
|
add scopeid functions
|
2013-10-19 00:09:03 +00:00 |
christos
|
e7993db787
|
remove unused variables
|
2013-10-18 19:58:11 +00:00 |
christos
|
9ec4136d0a
|
remove unused variable warnings
|
2013-10-18 19:57:28 +00:00 |
christos
|
91b2f42c8c
|
fix unused variable warnings
|
2013-10-18 19:56:55 +00:00 |
christos
|
0fbaa47180
|
remove unused variables
|
2013-10-18 19:56:30 +00:00 |
christos
|
74e86c11e9
|
remove unused variable
|
2013-10-18 19:56:11 +00:00 |
christos
|
230e69d821
|
move code inside ifdef
|
2013-10-18 19:55:37 +00:00 |
christos
|
12ef409576
|
move compat var in compat code.
|
2013-10-18 19:54:56 +00:00 |
christos
|
9d99f9bf57
|
remove unused variable
|
2013-10-18 19:48:36 +00:00 |
christos
|
b626e2d9e6
|
fix unused variable warnings
|
2013-10-18 19:45:40 +00:00 |
martin
|
f05fd841f8
|
Remove set but unused variables.
|
2013-10-18 18:38:49 +00:00 |
christos
|
777068d6ad
|
use __USE() for empty macro
|
2013-10-18 17:48:44 +00:00 |
jdc
|
2d66d2af12
|
Remove extraneous printf().
|
2013-10-18 15:16:08 +00:00 |
christos
|
7f0942b36f
|
use __USE() in the right place, instead of (void)var.
|
2013-10-18 15:15:22 +00:00 |
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 |