Blame SOURCES/0203-lib-remove-unused-function-make_description_bz.patch

28bab8
From eb013d53b789cf8b99325618e248b2380c51c815 Mon Sep 17 00:00:00 2001
28bab8
From: Matej Habrnal <mhabrnal@redhat.com>
28bab8
Date: Wed, 6 Apr 2016 15:49:23 +0200
28bab8
Subject: [PATCH] lib: remove unused function make_description_bz
28bab8
28bab8
The function was replaced by using problem report api.
28bab8
28bab8
Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
28bab8
---
28bab8
 src/include/internal_libreport.h |  2 --
28bab8
 src/lib/make_descr.c             | 28 ----------------------------
28bab8
 2 files changed, 30 deletions(-)
28bab8
28bab8
diff --git a/src/include/internal_libreport.h b/src/include/internal_libreport.h
28bab8
index 4f3c56a..c3b2045 100644
28bab8
--- a/src/include/internal_libreport.h
28bab8
+++ b/src/include/internal_libreport.h
28bab8
@@ -666,8 +666,6 @@ enum {
28bab8
 };
28bab8
 #define make_description libreport_make_description
28bab8
 char *make_description(problem_data_t *problem_data, char **names_to_skip, unsigned max_text_size, unsigned desc_flags);
28bab8
-#define make_description_bz libreport_make_description_bz
28bab8
-char* make_description_bz(problem_data_t *problem_data, unsigned max_text_size);
28bab8
 #define make_description_logger libreport_make_description_logger
28bab8
 char* make_description_logger(problem_data_t *problem_data, unsigned max_text_size);
28bab8
 #define make_description_mailx libreport_make_description_mailx
28bab8
diff --git a/src/lib/make_descr.c b/src/lib/make_descr.c
28bab8
index fd180a9..a16eb98 100644
28bab8
--- a/src/lib/make_descr.c
28bab8
+++ b/src/lib/make_descr.c
28bab8
@@ -356,34 +356,6 @@ static const char *const blacklisted_items[] = {
28bab8
     NULL
28bab8
 };
28bab8
 
28bab8
-/* Items we don't want to include in email */
28bab8
-static const char *const blacklisted_items_mailx[] = {
28bab8
-    CD_DUMPDIR        ,
28bab8
-    FILENAME_ANALYZER ,
28bab8
-    FILENAME_TYPE     ,
28bab8
-    FILENAME_COREDUMP ,
28bab8
-    FILENAME_DUPHASH  ,
28bab8
-    FILENAME_UUID     ,
28bab8
-    FILENAME_COUNT    ,
28bab8
-    FILENAME_TAINTED_SHORT,
28bab8
-    FILENAME_ARCHITECTURE,
28bab8
-    FILENAME_PACKAGE,
28bab8
-    FILENAME_OS_RELEASE,
28bab8
-    FILENAME_COMPONENT,
28bab8
-    FILENAME_REASON,
28bab8
-    NULL
28bab8
-};
28bab8
-
28bab8
-char* make_description_bz(problem_data_t *problem_data, unsigned max_text_size)
28bab8
-{
28bab8
-    return make_description(
28bab8
-                problem_data,
28bab8
-                (char**)blacklisted_items,
28bab8
-                max_text_size,
28bab8
-                MAKEDESC_SHOW_FILES | MAKEDESC_SHOW_MULTILINE
28bab8
-    );
28bab8
-}
28bab8
-
28bab8
 char* make_description_logger(problem_data_t *problem_data, unsigned max_text_size)
28bab8
 {
28bab8
     return make_description(
28bab8
-- 
28bab8
1.8.3.1
28bab8