diff options
author | Bart Van Assche <bvanassche@acm.org> | 2021-10-21 00:40:22 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-10-27 06:24:50 +0300 |
commit | 3ad317a1f932f3dfdedfba405f7b2d02154e20e1 (patch) | |
tree | f47ab2971ed697c5c9add90b340a82f508b2767a /drivers/clk/clk-aspeed.h | |
parent | 7340faae947400907e5e7581444712110d2811d5 (diff) | |
download | linux-3ad317a1f932f3dfdedfba405f7b2d02154e20e1.tar.xz |
scsi: ufs: core: Remove three superfluous casts
Casting an int explicitly to u16 when passed as an argument to a function
is not necessary.
Since prd_table and ucd_prdt_ptr both have type struct ufshcd_sg_entry *,
remove the casts from assignments of these two to each other.
This patch does not change any functionality.
Link: https://lore.kernel.org/r/20211020214024.2007615-9-bvanassche@acm.org
Acked-by: Avri Altman <Avri.Altman@wdc.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/clk/clk-aspeed.h')
0 files changed, 0 insertions, 0 deletions