summaryrefslogtreecommitdiff
path: root/drivers/hwtracing/coresight/coresight-tmc.h
diff options
context:
space:
mode:
authorJames Clark <james.clark@arm.com>2024-01-29 15:40:34 +0000
committerSuzuki K Poulose <suzuki.poulose@arm.com>2024-02-12 10:21:38 +0000
commita11ebe138b8ddb119b1b75c143429f64d605a54e (patch)
treeb27ce122ad352e04409e0d47f6d08e8650373d8e /drivers/hwtracing/coresight/coresight-tmc.h
parenta0fef3f05cf36338d471e8f35a9ced88a054d583 (diff)
downloadlwn-a11ebe138b8ddb119b1b75c143429f64d605a54e.tar.gz
lwn-a11ebe138b8ddb119b1b75c143429f64d605a54e.zip
coresight: Remove ops callback checks
The check for the existence of callbacks before using them implies that this happens and is supported. There are no devices without enable/disable callbacks, and it wouldn't be possible to add a new working device without adding them either, so just remove them. Furthermore, there are more callbacks than just enable and disable that are already used unguarded in other places. The comment about new session compatibility doesn't seem to match up to the line of code that it's on so remove it. I think it's alluding to the fact that sinks will check if they were already enabled via sysfs or Perf and fail the enable. But there are more detailed comments at those places, and this one isn't very useful. Signed-off-by: James Clark <james.clark@arm.com> Link: https://lore.kernel.org/r/20240129154050.569566-4-james.clark@arm.com Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Diffstat (limited to 'drivers/hwtracing/coresight/coresight-tmc.h')
0 files changed, 0 insertions, 0 deletions