blobmsg: drop old comment about json formatting functions

Those functions were moved out of blobmsg.h.

Fixes: 0918243e90 ("move json formatting to the blobmsg_json library")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
This commit is contained in:
Rafał Miłecki 2020-05-26 10:50:58 +02:00
parent 66195aee50
commit e85cb73976

View file

@ -314,9 +314,6 @@ int blobmsg_vprintf(struct blob_buf *buf, const char *name, const char *format,
int blobmsg_printf(struct blob_buf *buf, const char *name, const char *format, ...) int blobmsg_printf(struct blob_buf *buf, const char *name, const char *format, ...)
__attribute__((format(printf, 3, 4))); __attribute__((format(printf, 3, 4)));
/* blobmsg to json formatting */
#define blobmsg_for_each_attr(pos, attr, rem) \ #define blobmsg_for_each_attr(pos, attr, rem) \
for (rem = attr ? blobmsg_data_len(attr) : 0, \ for (rem = attr ? blobmsg_data_len(attr) : 0, \
pos = (struct blob_attr *) (attr ? blobmsg_data(attr) : NULL); \ pos = (struct blob_attr *) (attr ? blobmsg_data(attr) : NULL); \