From: Oleg Drokin Date: Thu, 25 Feb 2016 02:59:56 +0000 (-0500) Subject: staging/lustre: Get rid of obd_cmd_t typedef X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=deadbe9a6a99d16f80d0eaca7dcbdfcf4f87dc4a;p=linux-beck.git staging/lustre: Get rid of obd_cmd_t typedef Replace with enum obd_cmd Signed-off-by: Oleg Drokin Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h b/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h index 19a99c537c53..27ee85354aae 100644 --- a/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h +++ b/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h @@ -2918,13 +2918,13 @@ void lustre_swab_cfg_marker(struct cfg_marker *marker, int swab, int size); * Opcodes for multiple servers. */ -typedef enum { +enum obd_cmd { OBD_PING = 400, OBD_LOG_CANCEL, OBD_QC_CALLBACK, OBD_IDX_READ, OBD_LAST_OPC -} obd_cmd_t; +}; #define OBD_FIRST_OPC OBD_PING /* catalog of log objects */