Remove leftover code from initial changelog support

Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
This commit is contained in:
Gabor Mezei 2023-12-04 14:37:31 +01:00
parent 4e574dbd43
commit fe23daf8a3
No known key found for this signature in database
GPG Key ID: F072ACA227ACD71D

View File

@ -246,10 +246,7 @@ class ChangeLog:
self.categories = OrderedDict()
for category in STANDARD_CATEGORIES:
self.categories[category] = ''
if self.header:
offset = (self.header + self.top_version_title).count('\n') + 1
else:
offset = 0
self.add_categories_from_text(input_stream.name, offset,
top_version_body, True)