summaryrefslogtreecommitdiffstats
path: root/fs/minix/itree_v1.c
diff options
context:
space:
mode:
authorTai Nguyen <ttnguyen@apm.com>2017-07-13 11:19:08 -0700
committerWill Deacon <will.deacon@arm.com>2017-08-08 14:33:13 +0100
commitc1be2ddb1e25ecf425d93a81dc64a650b9ff3107 (patch)
tree58c04ac26b86a51e9c1bef3476d94d404d341add /fs/minix/itree_v1.c
parent1031a1592908ccd3240f4a5731c96c382c932310 (diff)
downloadlinux-c1be2ddb1e25ecf425d93a81dc64a650b9ff3107.tar.bz2
perf: xgene: Remove unnecessary managed resources cleanup
Managed resources in the driver should be automatically cleaned up on driver detach. It's unnecessary to manually free/unmmap these resources. One of the manual cleanup causes static checkers to complain. The bug is reported by Dan Carpenter <dan.carpenter@oracle.com> in [1] [1] https://www.spinics.net/lists/arm-kernel/msg593012.html This patch gets rid of all the unnecessary manual cleanup and properly unregister all the registered PMU devices by the driver on driver detach. Signed-off-by: Tai Nguyen <ttnguyen@apm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'fs/minix/itree_v1.c')
0 files changed, 0 insertions, 0 deletions