usb: gadget: f_fs_ipc_log: Remove status variable from ffs_ep
Currently, it seems due to ffs_ep being a local struct in upstream file the ffs_ipc_log has defined a local copy of it for it's use. However any mismatch in this might lead of th dependent structures being unstable or corrupted due to this ambiguity. Fix this by aligning the local ffs_ep structure defined in upstream and downstream files. Change-Id: Ia52c141deb49c0beaba31a59fa88ae58f8aaf5ea Signed-off-by: Udipto Goswami <quic_ugoswami@quicinc.com>
This commit is contained in:
parent
7cd339d42e
commit
550ffe671a
@ -1,7 +1,7 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2021, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*/
|
||||
|
||||
#include <linux/kernel.h>
|
||||
@ -56,8 +56,6 @@ struct ffs_ep {
|
||||
struct usb_endpoint_descriptor *descs[3];
|
||||
|
||||
u8 num;
|
||||
|
||||
int status; /* P: epfile->mutex */
|
||||
};
|
||||
|
||||
/* Copied from f_fs.c */
|
||||
|
Loading…
Reference in New Issue
Block a user