Re: [PATCH] Remove unnecessary code in the interface accel_system_init_ops_interfaces

2024-09-11 Thread Claudio Fontana
On 9/9/24 12:07, Claudio Fontana wrote: > On 9/9/24 11:54, Daniel Henrique Barboza wrote: >> >> >> On 9/9/24 12:17 AM, Andrew.Yuan wrote: >>> The code 'ops = ACCEL_OPS_CLASS(module_object_class_by_name(ops_name));' is >>> unnecessary; >>> >>> And, the following code : >>> 1.has the same functional

Re: [PATCH] Remove unnecessary code in the interface accel_system_init_ops_interfaces

2024-09-09 Thread Claudio Fontana
On 9/9/24 11:54, Daniel Henrique Barboza wrote: > > > On 9/9/24 12:17 AM, Andrew.Yuan wrote: >> The code 'ops = ACCEL_OPS_CLASS(module_object_class_by_name(ops_name));' is >> unnecessary; >> >> And, the following code : >> 1.has the same functionality; >> 2.includes error checking; >> >> Signed-

Re: [PATCH] Remove unnecessary code in the interface accel_system_init_ops_interfaces

2024-09-09 Thread Daniel Henrique Barboza
On 9/9/24 12:17 AM, Andrew.Yuan wrote: The code 'ops = ACCEL_OPS_CLASS(module_object_class_by_name(ops_name));' is unnecessary; And, the following code : 1.has the same functionality; 2.includes error checking; Signed-off-by: Andrew.Yuan --- accel/accel-system.c | 2 +- 1 file changed,

[PATCH] Remove unnecessary code in the interface accel_system_init_ops_interfaces

2024-09-08 Thread Andrew.Yuan
The code 'ops = ACCEL_OPS_CLASS(module_object_class_by_name(ops_name));' is unnecessary; And, the following code : 1.has the same functionality; 2.includes error checking; Signed-off-by: Andrew.Yuan --- accel/accel-system.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ac