mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
crypto: squash lines for simple wrapper functions
Remove unneeded variables and assignments. Signed-off-by: Masahiro Yamada <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
This commit is contained in:
parent
e9afc74629
commit
36e09e1f87
3 changed files with 4 additions and 20 deletions
|
|
@ -636,20 +636,12 @@ struct hifn_request_context {
|
|||
|
||||
static inline u32 hifn_read_0(struct hifn_device *dev, u32 reg)
|
||||
{
|
||||
u32 ret;
|
||||
|
||||
ret = readl(dev->bar[0] + reg);
|
||||
|
||||
return ret;
|
||||
return readl(dev->bar[0] + reg);
|
||||
}
|
||||
|
||||
static inline u32 hifn_read_1(struct hifn_device *dev, u32 reg)
|
||||
{
|
||||
u32 ret;
|
||||
|
||||
ret = readl(dev->bar[1] + reg);
|
||||
|
||||
return ret;
|
||||
return readl(dev->bar[1] + reg);
|
||||
}
|
||||
|
||||
static inline void hifn_write_0(struct hifn_device *dev, u32 reg, u32 val)
|
||||
|
|
|
|||
Loading…
Reference in a new issue