staging: gdm724x: remove unneeded TO_HOST_SUCCESS enum
0 is always success in the kernel, just use that. Cc: Won Kang <wonkang@gctsemi.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ca7ea39361
commit
497a2e02a1
2 changed files with 1 additions and 2 deletions
|
@ -155,7 +155,7 @@ static int gdm_tty_recv_complete(void *data, int len, int index, int minor, int
|
|||
if (complete == RECV_PACKET_PROCESS_COMPLETE)
|
||||
gdm_tty_recv(tty_str, gdm_tty_recv_complete);
|
||||
|
||||
return TO_HOST_SUCCESS;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void gdm_tty_send_complete(void *arg)
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
#define MAX_ISSUE_NUM 3
|
||||
|
||||
enum TO_HOST_RESULT {
|
||||
TO_HOST_SUCCESS = 0,
|
||||
TO_HOST_BUFFER_REQUEST_FAIL = 1,
|
||||
TO_HOST_PORT_CLOSE = 2,
|
||||
TO_HOST_INVALID_PACKET = 3,
|
||||
|
|
Loading…
Reference in a new issue