]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc658fc9b711ff4c3d68f40d4b54a877f3881380f
tree62ea32a6868e9e424de64067c1d6aadacfb8654f
parent4430bcdc4a6b7f4f97ed534d602931c43736f3fe
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