diff options
| author | Miaohe Lin <[email protected]> | 2021-02-24 20:10:25 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-02-24 21:38:35 +0000 |
| commit | e5d319dedafd21211fd19ea28a3f50da7368d6ff (patch) | |
| tree | 6e3027cfefce1de3f579bd1c38c74ecd0e12d059 /drivers/pci/controller/dwc/pci-layerscape.c | |
| parent | hugetlbfs: fix some comment typos (diff) | |
| download | kernel-e5d319dedafd21211fd19ea28a3f50da7368d6ff.tar.gz kernel-e5d319dedafd21211fd19ea28a3f50da7368d6ff.zip | |
hugetlbfs: remove unneeded return value of hugetlb_vmtruncate()
The function hugetlb_vmtruncate() is guaranteed to always success since
commit 7aa91e104028 ("hugetlb: allow extending ftruncate on hugetlbfs").
So we should remove the unneeded return value which is always 0.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Miaohe Lin <[email protected]>
Reviewed-by: Mike Kravetz <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pci-layerscape.c')
0 files changed, 0 insertions, 0 deletions
