summaryrefslogtreecommitdiff
path: root/arch/alpha/kernel/smc37c669.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/alpha/kernel/smc37c669.c')
-rw-r--r--arch/alpha/kernel/smc37c669.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/alpha/kernel/smc37c669.c b/arch/alpha/kernel/smc37c669.c
index c803fc76ae4f..4dbd4e415041 100644
--- a/arch/alpha/kernel/smc37c669.c
+++ b/arch/alpha/kernel/smc37c669.c
@@ -2007,11 +2007,8 @@ static void __init SMC37c669_config_mode(
static unsigned char __init SMC37c669_read_config(
unsigned char index )
{
- unsigned char data;
-
- wb( &SMC37c669->index_port, index );
- data = rb( &SMC37c669->data_port );
- return data;
+ wb(&SMC37c669->index_port, index);
+ return rb(&SMC37c669->data_port);
}
/*