diff options
author | Peter Huewe <peterhuewe@gmx.de> | 2013-01-29 22:01:59 +0100 |
---|---|---|
committer | Kent Yoder <key@linux.vnet.ibm.com> | 2013-02-05 16:38:25 +0100 |
commit | 64298919ad034aa07a6ec85b82e5c8861e364ae5 (patch) | |
tree | 3629ae0922e2825cca7e70eaabe7e7c9409ee055 /drivers/char/efirtc.c | |
parent | tpm_i2c_stm_st33: removed unused variables/code (diff) | |
download | linux-64298919ad034aa07a6ec85b82e5c8861e364ae5.tar.xz linux-64298919ad034aa07a6ec85b82e5c8861e364ae5.zip |
char/tpm/tpm_i2c_stm_st33: Don't use memcpy for one byte assignment
We don't need to call memcpy for one byte, but assign it directly.
And to make the offset clearer we use the array syntax on the subsequent
call to memset to make the relationship clearer.
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Kent Yoder <key@linux.vnet.ibm.com>
Diffstat (limited to 'drivers/char/efirtc.c')
0 files changed, 0 insertions, 0 deletions