kernel/bus: Remove some unused variables and put others in #ifdef...
kernel/vfs: Remove some unused variables.