Skip to content
Commit 90059e93 authored by Salah Triki's avatar Salah Triki Committed by Greg Kroah-Hartman
Browse files

usb: gadget: remove useless cast



Remove the cast done by ERR_PTR() and PTR_ERR() since data is of type char
* and fss_prepare_buffer() should returns a value of this type.

Acked-by: default avatarFelipe Balbi <balbi@kernel.org>
Signed-off-by: default avatarSalah Triki <salah.triki@gmail.com>
Link: https://lore.kernel.org/r/20210731171838.GA912463@pc


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9311a531
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment