mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2025-12-10 07:44:39 +01:00
QoS: remove unused variables
This commit is contained in:
parent
ddfe105103
commit
b0cd558808
1 changed files with 1 additions and 31 deletions
|
|
@ -1578,13 +1578,8 @@ int os_get_QoSClassification_SourceVendorClassID(char *refparam, struct dmctx *c
|
|||
|
||||
int os_set_QoSClassification_SourceVendorClassID(char *refparam, struct dmctx *ctx, void *data, char *instance, char *value, int action)
|
||||
{
|
||||
char *src_vendor_class_id = NULL;
|
||||
struct uci_section *dmmap_section = NULL;
|
||||
|
||||
switch (action) {
|
||||
case VALUECHECK:
|
||||
if (value[0] == '\0')
|
||||
break;
|
||||
if (dm_validate_string(value, -1, 255, NULL, 0, NULL, 0))
|
||||
return FAULT_9007;
|
||||
break;
|
||||
|
|
@ -1660,13 +1655,8 @@ int os_get_QoSClassification_DestVendorClassID(char *refparam, struct dmctx *ctx
|
|||
|
||||
int os_set_QoSClassification_DestVendorClassID(char *refparam, struct dmctx *ctx, void *data, char *instance, char *value, int action)
|
||||
{
|
||||
char *dst_vendor_class_id = NULL;
|
||||
struct uci_section *dmmap_section = NULL;
|
||||
|
||||
switch (action) {
|
||||
case VALUECHECK:
|
||||
if (value[0] == '\0')
|
||||
break;
|
||||
if (dm_validate_string(value, -1, 255, NULL, 0, NULL, 0))
|
||||
return FAULT_9007;
|
||||
break;
|
||||
|
|
@ -1742,13 +1732,8 @@ int os_get_QoSClassification_SourceClientID(char *refparam, struct dmctx *ctx, v
|
|||
|
||||
int os_set_QoSClassification_SourceClientID(char *refparam, struct dmctx *ctx, void *data, char *instance, char *value, int action)
|
||||
{
|
||||
char *src_client_id = NULL;
|
||||
struct uci_section *dmmap_section = NULL;
|
||||
|
||||
switch (action) {
|
||||
case VALUECHECK:
|
||||
if (value[0] == '\0')
|
||||
break;
|
||||
if (dm_validate_hexBinary(value, RANGE_ARGS{{NULL,"65535"}}, 1))
|
||||
return FAULT_9007;
|
||||
break;
|
||||
|
|
@ -1788,13 +1773,8 @@ int os_get_QoSClassification_DestClientID(char *refparam, struct dmctx *ctx, voi
|
|||
|
||||
int os_set_QoSClassification_DestClientID(char *refparam, struct dmctx *ctx, void *data, char *instance, char *value, int action)
|
||||
{
|
||||
char *dst_client_id = NULL;
|
||||
struct uci_section *dmmap_section = NULL;
|
||||
|
||||
switch (action) {
|
||||
case VALUECHECK:
|
||||
if (value[0] == '\0')
|
||||
break;
|
||||
if (dm_validate_hexBinary(value, RANGE_ARGS{{NULL,"65535"}}, 1))
|
||||
return FAULT_9007;
|
||||
break;
|
||||
|
|
@ -1834,13 +1814,8 @@ int os_get_QoSClassification_SourceUserClassID(char *refparam, struct dmctx *ctx
|
|||
|
||||
int os_set_QoSClassification_SourceUserClassID(char *refparam, struct dmctx *ctx, void *data, char *instance, char *value, int action)
|
||||
{
|
||||
char *src_user_class_id = NULL;
|
||||
struct uci_section *dmmap_section = NULL;
|
||||
|
||||
switch (action) {
|
||||
case VALUECHECK:
|
||||
if (value[0] == '\0')
|
||||
break;
|
||||
if (dm_validate_hexBinary(value, RANGE_ARGS{{NULL,"65535"}}, 1))
|
||||
return FAULT_9007;
|
||||
break;
|
||||
|
|
@ -1880,13 +1855,8 @@ int os_get_QoSClassification_DestUserClassID(char *refparam, struct dmctx *ctx,
|
|||
|
||||
int os_set_QoSClassification_DestUserClassID(char *refparam, struct dmctx *ctx, void *data, char *instance, char *value, int action)
|
||||
{
|
||||
char *dst_user_class_id = NULL;
|
||||
struct uci_section *dmmap_section = NULL;
|
||||
|
||||
switch (action) {
|
||||
case VALUECHECK:
|
||||
if (value[0] == '\0')
|
||||
break;
|
||||
if (dm_validate_hexBinary(value, RANGE_ARGS{{NULL,"65535"}}, 1))
|
||||
return FAULT_9007;
|
||||
break;
|
||||
|
|
@ -1899,7 +1869,7 @@ int os_set_QoSClassification_DestUserClassID(char *refparam, struct dmctx *ctx,
|
|||
}
|
||||
|
||||
#if 0
|
||||
int os_get_QoSClassification_DestUserClassIDExclude(char *refparam, struct dmctdstctx, void *data, char *instance, char **value)
|
||||
int os_get_QoSClassification_DestUserClassIDExclude(char *refparam, struct dmctx *ctx, void *data, char *instance, char **value)
|
||||
{
|
||||
//TODO
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue