]> 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)
commit648473d248048a7fc011d47d3d2723e2c5ea1640
tree62ea32a6868e9e424de64067c1d6aadacfb8654f
parent459331595a95e0c4d293ca8bc193d4f85ebec537
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