Skip to content

Commit

Permalink
Bug#34960183 GCS/Xcom remove unused #defines
Browse files Browse the repository at this point in the history
Remove unused lines of code.

Change-Id: I49feab546ca01a4e8f4673f7b2fd37a12d97b68e
  • Loading branch information
Michal Hryb committed Jan 24, 2023
1 parent bf4a9ac commit bc64a02
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,18 +81,6 @@ typedef unsigned __int32 uint32_t;
typedef __int64 int64_t;
typedef unsigned __int64 uint64_t;

#ifndef MCMD_COMPILE /* Outside MCM, we use stdint.h */
#ifndef UINT8_MAX
#define UINT8_MAX (255)
#endif
#ifndef UINT16_MAX
#define UINT16_MAX (65535)
#endif
#ifndef UINT32_MAX
#define UINT32_MAX (4294967295U)
#endif
#endif

/* WIN32 missing net/if.h */
typedef int __daddr_t;
typedef char *__caddr_t;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,6 @@ int pre_process_incoming_ping(site_def const *site, pax_msg const *pm,

#define FIND_MAX (MIN_LENGTH / 10)

/* Set type and object pointer */
#define PLP msg->payload.manager_message_payload_u
#define SET_REP_TYPE(quark, ptr) \
q = (quark); \
object = PLP.ptr

#define x_actions \
X(x_fsm_wait) \
, X(x_fsm_poll), X(x_fsm_init), X(x_fsm_u_boot), X(x_fsm_add), \
Expand Down

0 comments on commit bc64a02

Please sign in to comment.