Skip to content

Commit

Permalink
Staging: vt6655: remove I8 custom macro
Browse files Browse the repository at this point in the history
Remove custom macro for signed 8-bit integers.

Signed-off-by: Charles Clément <caratorn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Charles Clément authored and Greg Kroah-Hartman committed Jun 18, 2010
1 parent 8fa5dd1 commit ec28c7f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/vt6655/card.c
Original file line number Diff line number Diff line change
Expand Up @@ -2095,7 +2095,7 @@ void
CARDvSetPowerConstraint (
void *pDeviceHandler,
BYTE byChannel,
I8 byPower
char byPower
)
{
PSDevice pDevice = (PSDevice) pDeviceHandler;
Expand Down Expand Up @@ -2253,7 +2253,7 @@ CARDbySetSupportChannels (
* Return Value: none.
*
-*/
I8
char
CARDbyGetTransmitPower (
void *pDeviceHandler
)
Expand Down
4 changes: 2 additions & 2 deletions drivers/staging/vt6655/card.h
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ void
CARDvSetPowerConstraint (
void *pDeviceHandler,
BYTE byChannel,
I8 byPower
char byPower
);

void
Expand All @@ -205,7 +205,7 @@ CARDbySetSupportChannels (
PBYTE pbyIEs
);

I8
char
CARDbyGetTransmitPower (
void *pDeviceHandler
);
Expand Down
10 changes: 5 additions & 5 deletions drivers/staging/vt6655/device.h
Original file line number Diff line number Diff line change
Expand Up @@ -693,13 +693,13 @@ typedef struct __device_info {
BYTE byCCKPwr;
BYTE byOFDMPwrG;
BYTE byCurPwr;
I8 byCurPwrdBm;
char byCurPwrdBm;
BYTE abyCCKPwrTbl[CB_MAX_CHANNEL_24G+1];
BYTE abyOFDMPwrTbl[CB_MAX_CHANNEL+1];
I8 abyCCKDefaultPwr[CB_MAX_CHANNEL_24G+1];
I8 abyOFDMDefaultPwr[CB_MAX_CHANNEL+1];
I8 abyRegPwr[CB_MAX_CHANNEL+1];
I8 abyLocalPwr[CB_MAX_CHANNEL+1];
char abyCCKDefaultPwr[CB_MAX_CHANNEL_24G+1];
char abyOFDMDefaultPwr[CB_MAX_CHANNEL+1];
char abyRegPwr[CB_MAX_CHANNEL+1];
char abyLocalPwr[CB_MAX_CHANNEL+1];


// BaseBand Loopback Use
Expand Down
2 changes: 0 additions & 2 deletions drivers/staging/vt6655/ttype.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ typedef int BOOL;
* but it doesn't matter if they're signed or unsigned.
*/

typedef signed char I8; /* 8-bit signed integer */

typedef unsigned char U8; /* 8-bit unsigned integer */
typedef unsigned short U16; /* 16-bit unsigned integer */
typedef unsigned long U32; /* 32-bit unsigned integer */
Expand Down

0 comments on commit ec28c7f

Please sign in to comment.