diff options
author | Sudeep Holla <sudeep.holla@arm.com> | 2021-09-17 14:33:54 +0100 |
---|---|---|
committer | Jassi Brar <jaswinder.singh@linaro.org> | 2021-10-29 22:46:38 -0500 |
commit | 45ec2dafb1775f7d806fbd2387e3f2cc2f56142d (patch) | |
tree | d4573edffb22f50739ac4a283ea0b9ce5439a095 /kernel/trace/trace_functions.c | |
parent | bf18123e78f4d13fc0105b1ddb4b46c1665dd025 (diff) |
mailbox: pcc: Drop handling invalid bit-width in {read,write}_register
pcc_chan_reg_init now checks if the register bit width is within the
list [8, 16, 32, 64] and flags error if that is not the case. Therefore
there is no need to handling invalid bit-width in both read_register
and write_register. We can drop that along with the return values for
these 2 functions.
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Diffstat (limited to 'kernel/trace/trace_functions.c')
0 files changed, 0 insertions, 0 deletions