summaryrefslogtreecommitdiff
path: root/drivers/ps3/sys-manager-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ps3/sys-manager-core.c')
-rw-r--r--drivers/ps3/sys-manager-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ps3/sys-manager-core.c b/drivers/ps3/sys-manager-core.c
index 24709c572c0c..e061b7d0632b 100644
--- a/drivers/ps3/sys-manager-core.c
+++ b/drivers/ps3/sys-manager-core.c
@@ -31,7 +31,7 @@ void ps3_sys_manager_register_ops(const struct ps3_sys_manager_ops *ops)
{
BUG_ON(!ops);
BUG_ON(!ops->dev);
- ps3_sys_manager_ops = ops ? *ops : ps3_sys_manager_ops;
+ ps3_sys_manager_ops = *ops;
}
EXPORT_SYMBOL_GPL(ps3_sys_manager_register_ops);