linux_dsm_epyc7002/drivers/nvdimm
Dan Williams edc870e546 pmem: make_request cleanups
Various cleanups:

1/ Kill the BUG_ON since we've already told the block layer we don't
   support DISCARD on all these drivers.

2/ Kill the 'rw' variable, no need to cache it.

3/ Kill the local 'sector' variable.  bio_for_each_segment() is already
   advancing the iterator's sector number by the bio_vec length.

4/ Kill the check for accessing past the end of device
   generic_make_request_checks() already does that.

Suggested-by: Christoph Hellwig <hch@lst.de>
[hch: kill access past end of the device check]
Reviewed-by: Vishal Verma <vishal.l.verma@linux.intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2015-06-26 11:23:38 -04:00
..
blk.c libnvdimm, blk: add support for blk integrity 2015-06-26 11:23:38 -04:00
btt_devs.c libnvdimm, btt: add support for blk integrity 2015-06-26 11:23:38 -04:00
btt.c libnvdimm, btt: add support for blk integrity 2015-06-26 11:23:38 -04:00
btt.h libnvdimm, blk: add support for blk integrity 2015-06-26 11:23:38 -04:00
bus.c libnvdimm: infrastructure for btt devices 2015-06-25 04:20:04 -04:00
core.c libnvdimm, blk: add support for blk integrity 2015-06-26 11:23:38 -04:00
dimm_devs.c libnvdimm, nfit, nd_blk: driver for BLK-mode access persistent memory 2015-06-26 11:23:38 -04:00
dimm.c libnvdimm: pmem label sets and namespace instantiation. 2015-06-24 21:24:10 -04:00
Kconfig libnvdimm, nfit, nd_blk: driver for BLK-mode access persistent memory 2015-06-26 11:23:38 -04:00
label.c libnvdimm: infrastructure for btt devices 2015-06-25 04:20:04 -04:00
label.h libnvdimm: write blk label set 2015-06-24 21:24:10 -04:00
Makefile libnvdimm, nfit, nd_blk: driver for BLK-mode access persistent memory 2015-06-26 11:23:38 -04:00
namespace_devs.c libnvdimm, blk: add support for blk integrity 2015-06-26 11:23:38 -04:00
nd-core.h libnvdimm, nfit, nd_blk: driver for BLK-mode access persistent memory 2015-06-26 11:23:38 -04:00
nd.h libnvdimm, blk: add support for blk integrity 2015-06-26 11:23:38 -04:00
pmem.c pmem: make_request cleanups 2015-06-26 11:23:38 -04:00
region_devs.c libnvdimm, nfit, nd_blk: driver for BLK-mode access persistent memory 2015-06-26 11:23:38 -04:00
region.c libnvdimm, nfit, nd_blk: driver for BLK-mode access persistent memory 2015-06-26 11:23:38 -04:00