lightnvm: Simplify config when disabled
authorKeith Busch <keith.busch@intel.com>
Sat, 28 Nov 2015 15:49:22 +0000 (16:49 +0100)
committerJens Axboe <axboe@fb.com>
Sun, 29 Nov 2015 21:34:57 +0000 (14:34 -0700)
commitc4699e70d1db14119708dae76dac7c43e1e12988
tree62ea32a6868e9e424de64067c1d6aadacfb8654f
parent77032ca66f86fa631b38b2e7feeb2b953e59f2f0
lightnvm: Simplify config when disabled

We shouldn't compile an object file to get empty implementations;
conforms to linux coding style on conditional compilation.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/Makefile
drivers/nvme/host/lightnvm.c
drivers/nvme/host/nvme.h