summaryrefslogtreecommitdiff
path: root/ipc/shm.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2016-03-01 09:37:10 -0600
committerBjorn Helgaas <bhelgaas@google.com>2016-03-12 06:00:29 -0600
commit9d88b93bea5937c0c5c5fc30089d4e6e3c9ca508 (patch)
treea56080a05b7d3b5b5c0b47b77863ce2f5d4d4b56 /ipc/shm.c
parentd9c8bea179a6906a74ea42a2a162c4d1c6d9a16b (diff)
PCI: Simplify sysfs ROM cleanup
The value of pdev->rom_attr is the definitive indicator of the fact that we're created a sysfs attribute. Check that rather than rom_size, which is only used incidentally when deciding whether to create a sysfs attribute. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'ipc/shm.c')
0 files changed, 0 insertions, 0 deletions