staging: unisys: include: changed 'v' variable to 'state'

The argument for ULTRA_CHANNELCLI_STRING is supposed to be
an integer representing the channel state. 'state' is a more
descriptive variable name for this.

Signed-off-by: Alexander Curtin <alexander.curtin@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Alexander Curtin 2016-03-23 22:15:53 -04:00 committed by Greg Kroah-Hartman
parent a22f57c650
commit 85d83cd8c6

View file

@ -76,9 +76,9 @@ enum channel_clientstate {
}; };
static inline const u8 * static inline const u8 *
ULTRA_CHANNELCLI_STRING(u32 v) ULTRA_CHANNELCLI_STRING(u32 state)
{ {
switch (v) { switch (state) {
case CHANNELCLI_DETACHED: case CHANNELCLI_DETACHED:
return (const u8 *)("DETACHED"); return (const u8 *)("DETACHED");
case CHANNELCLI_DISABLED: case CHANNELCLI_DISABLED: